diff --git a/zeroerr_oa-recruit/src/main/java/cn/zeroerr/domain/entity/ResumeFollowRecord.java b/zeroerr_oa-recruit/src/main/java/cn/zeroerr/domain/entity/ResumeFollowRecord.java index f2f0495..e42ba60 100644 --- a/zeroerr_oa-recruit/src/main/java/cn/zeroerr/domain/entity/ResumeFollowRecord.java +++ b/zeroerr_oa-recruit/src/main/java/cn/zeroerr/domain/entity/ResumeFollowRecord.java @@ -325,6 +325,29 @@ public class ResumeFollowRecord implements Serializable { @TableField(exist = false) private List fail; + + @TableField(exist = false) + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + @DateTimeFormat(pattern = "yyyy-MM-dd") + private LocalDate startFirstDate; + + + @TableField(exist = false) + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + @DateTimeFormat(pattern = "yyyy-MM-dd") + private LocalDate endFirstDate; + + @TableField(exist = false) + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + @DateTimeFormat(pattern = "yyyy-MM-dd") + private LocalDate startFinalDate; + + + @TableField(exist = false) + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + @DateTimeFormat(pattern = "yyyy-MM-dd") + private LocalDate endFinalDate; + @TableField(exist = false) private static final long serialVersionUID = 1L; } \ No newline at end of file diff --git a/zeroerr_oa-recruit/src/main/resources/mapper/ResumeFollowRecordMapper.xml b/zeroerr_oa-recruit/src/main/resources/mapper/ResumeFollowRecordMapper.xml index b5c2776..2aa031a 100644 --- a/zeroerr_oa-recruit/src/main/resources/mapper/ResumeFollowRecordMapper.xml +++ b/zeroerr_oa-recruit/src/main/resources/mapper/ResumeFollowRecordMapper.xml @@ -74,6 +74,10 @@ and second_pass = #{req.secondPass} and final_pass = #{req.finalPass} and is_pass = #{req.isPass} + and first_date is not null and first_date =]]> #{req.startFirstDate} + and first_date is not null and first_date #{req.endFirstDate} + and final_date is not null and final_date =]]> #{req.startFinalDate} + and final_date is not null and final_date #{req.endFinalDate} and id = #{req.id} order by case when topping = b'1' then 0 else 1 end,