Skip to content

Commit

Permalink
fix: 删除无用依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
CarefreeState committed Sep 8, 2024
1 parent 1cee6ac commit 3479466
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.achobeta.domain.email.service.impl;

import com.achobeta.email.model.po.EmailMessage;
import com.achobeta.domain.email.model.vo.VerificationCodeTemplate;
import com.achobeta.email.EmailSender;
import com.achobeta.domain.email.service.EmailService;
import com.achobeta.template.engine.HtmlEngine;
import com.achobeta.email.EmailSender;
import com.achobeta.email.model.po.EmailMessage;
import com.achobeta.exception.GlobalServiceException;
import com.achobeta.redis.RedisCache;
import com.achobeta.template.engine.HtmlEngine;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
import com.achobeta.common.enums.EmailTemplateEnum;
import com.achobeta.common.enums.InterviewEvent;
import com.achobeta.common.enums.InterviewStatus;
import com.achobeta.email.model.po.EmailMessage;
import com.achobeta.email.EmailSender;
import com.achobeta.domain.evaluate.model.vo.InterviewExperienceTemplateClose;
import com.achobeta.domain.evaluate.model.vo.InterviewExperienceTemplateInner;
import com.achobeta.domain.evaluate.model.vo.InterviewExperienceTemplateOpen;
import com.achobeta.domain.evaluate.service.InterviewQuestionScoreService;
import com.achobeta.template.model.po.HtmlResource;
import com.achobeta.template.model.po.MarkdownReplaceResource;
import com.achobeta.template.engine.HtmlEngine;
import com.achobeta.domain.interview.machine.context.InterviewContext;
import com.achobeta.domain.interview.machine.events.internal.InterviewStateInternalTransitionHelper;
import com.achobeta.domain.interview.model.vo.InterviewDetailVO;
import com.achobeta.domain.interview.service.InterviewService;
import com.achobeta.domain.schedule.model.vo.ScheduleVO;
import com.achobeta.domain.schedule.service.InterviewScheduleService;
import com.achobeta.domain.student.model.vo.SimpleStudentVO;
import com.achobeta.email.EmailSender;
import com.achobeta.email.model.po.EmailMessage;
import com.achobeta.template.engine.HtmlEngine;
import com.achobeta.template.model.po.HtmlResource;
import com.achobeta.template.model.po.MarkdownReplaceResource;
import com.achobeta.template.util.TemplateUtil;
import com.alibaba.cola.statemachine.Action;
import com.alibaba.cola.statemachine.Condition;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
import com.achobeta.common.enums.EmailTemplateEnum;
import com.achobeta.common.enums.InterviewEvent;
import com.achobeta.common.enums.InterviewStatus;
import com.achobeta.email.model.po.EmailMessage;
import com.achobeta.email.EmailSender;
import com.achobeta.domain.evaluate.model.vo.InterviewSummaryTemplate;
import com.achobeta.domain.evaluate.model.vo.InterviewSummaryVO;
import com.achobeta.domain.evaluate.service.InterviewSummaryService;
import com.achobeta.template.engine.HtmlEngine;
import com.achobeta.domain.interview.machine.context.InterviewContext;
import com.achobeta.domain.interview.machine.events.internal.InterviewStateInternalTransitionHelper;
import com.achobeta.domain.interview.model.vo.InterviewDetailVO;
import com.achobeta.domain.interview.service.InterviewService;
import com.achobeta.domain.schedule.service.InterviewScheduleService;
import com.achobeta.domain.student.model.vo.SimpleStudentVO;
import com.achobeta.email.EmailSender;
import com.achobeta.email.model.po.EmailMessage;
import com.achobeta.template.engine.HtmlEngine;
import com.alibaba.cola.statemachine.Action;
import com.alibaba.cola.statemachine.Condition;
import lombok.RequiredArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
import com.achobeta.common.enums.EmailTemplateEnum;
import com.achobeta.common.enums.InterviewEvent;
import com.achobeta.common.enums.InterviewStatus;
import com.achobeta.email.model.po.EmailMessage;
import com.achobeta.email.EmailSender;
import com.achobeta.template.engine.HtmlEngine;
import com.achobeta.domain.interview.machine.context.InterviewContext;
import com.achobeta.domain.interview.model.entity.Interview;
import com.achobeta.domain.interview.model.vo.InterviewDetailVO;
Expand All @@ -15,6 +12,9 @@
import com.achobeta.domain.schedule.model.vo.ScheduleVO;
import com.achobeta.domain.schedule.service.InterviewScheduleService;
import com.achobeta.domain.student.model.vo.SimpleStudentVO;
import com.achobeta.email.EmailSender;
import com.achobeta.email.model.po.EmailMessage;
import com.achobeta.template.engine.HtmlEngine;
import com.alibaba.cola.statemachine.Action;
import com.alibaba.cola.statemachine.Condition;
import lombok.RequiredArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
import com.achobeta.common.enums.EmailTemplateEnum;
import com.achobeta.common.enums.ResumeEvent;
import com.achobeta.common.enums.ResumeStatus;
import com.achobeta.email.model.po.EmailMessage;
import com.achobeta.email.EmailSender;
import com.achobeta.template.engine.HtmlEngine;
import com.achobeta.domain.resumestate.machine.context.ResumeContext;
import com.achobeta.domain.users.model.dto.MemberDTO;
import com.achobeta.domain.resumestate.model.dto.ResumeExecuteDTO;
import com.achobeta.domain.users.model.entity.Member;
import com.achobeta.domain.resumestate.model.vo.ConfirmationNoticeTemplate;
import com.achobeta.domain.users.service.MemberService;
import com.achobeta.domain.student.model.entity.StuResume;
import com.achobeta.domain.users.model.dto.MemberDTO;
import com.achobeta.domain.users.model.entity.Member;
import com.achobeta.domain.users.service.MemberService;
import com.achobeta.email.EmailSender;
import com.achobeta.email.model.po.EmailMessage;
import com.achobeta.template.engine.HtmlEngine;
import com.achobeta.util.ValidatorUtils;
import com.alibaba.cola.statemachine.Action;
import com.alibaba.cola.statemachine.Condition;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import com.achobeta.common.SystemJsonResponse;
import com.achobeta.common.annotation.Intercept;
import com.achobeta.common.enums.UserTypeEnum;
import com.achobeta.domain.users.context.BaseContext;
import com.achobeta.domain.users.model.vo.MemberVO;
import com.achobeta.domain.users.model.vo.SimpleMemberVO;
import com.achobeta.domain.users.service.MemberService;
import com.achobeta.domain.users.context.BaseContext;
import jakarta.validation.constraints.NotNull;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.achobeta.domain.users.model.vo;

import com.achobeta.domain.student.model.vo.StuResumeVO;
import com.achobeta.domain.users.model.vo.UserVO;
import lombok.Data;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.achobeta.domain.users.model.vo;

import com.achobeta.domain.student.model.vo.SimpleStudentVO;
import com.achobeta.domain.users.model.vo.UserVO;
import lombok.Data;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
import com.achobeta.domain.login.model.dao.UserEntity;
import com.achobeta.domain.login.model.dto.RegisterDTO;
import com.achobeta.domain.login.service.LoginService;
import com.achobeta.domain.student.model.dto.QueryResumeDTO;
import com.achobeta.domain.student.model.vo.StuResumeVO;
import com.achobeta.domain.student.service.StuResumeService;
import com.achobeta.domain.users.model.converter.MemberConverter;
import com.achobeta.domain.users.model.converter.UserConverter;
import com.achobeta.domain.users.model.dao.mapper.MemberMapper;
import com.achobeta.domain.users.model.dto.MemberDTO;
import com.achobeta.domain.users.model.entity.Member;
import com.achobeta.domain.users.model.vo.MemberVO;
import com.achobeta.domain.users.model.vo.SimpleMemberVO;
import com.achobeta.domain.users.service.MemberService;
import com.achobeta.domain.student.model.dto.QueryResumeDTO;
import com.achobeta.domain.student.model.vo.StuResumeVO;
import com.achobeta.domain.student.service.StuResumeService;
import com.achobeta.domain.users.model.converter.UserConverter;
import com.achobeta.domain.users.model.vo.UserVO;
import com.achobeta.domain.users.service.MemberService;
import com.achobeta.domain.users.service.UserService;
import com.achobeta.exception.GlobalServiceException;
import com.achobeta.redis.RedisLock;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.achobeta.template.engine;

import com.achobeta.template.model.po.HtmlReplaceResource;
import com.achobeta.template.model.po.MarkdownReplaceResource;
import com.achobeta.template.model.po.MarkdownResource;
import com.achobeta.template.util.TemplateUtil;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/achobeta/util/ObjectUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static <C, F> F read(C object, Field field, Class<F> fieldClazz) {
}
}

// 滤出 C 类内部不包括父类的字段列表中,「F/F子类的属性」
// 滤出 C 类内部不包括父类的字段列表中,「可通过字段或者 Getter 访问的 F/F子类的属性」,其他均为 null
public static <C, F> Stream<F> stream(C object, Class<F> fieldClazz) {
return Arrays.stream(object.getClass().getDeclaredFields())
.map(field -> read(object, field, fieldClazz));
Expand Down

0 comments on commit 3479466

Please sign in to comment.