From 61d03988ba5d34e5df3bbad71b9b6312c987b9d5 Mon Sep 17 00:00:00 2001 From: lw <532810027@qq.com> Date: Sat, 13 Jul 2024 15:58:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=9D=A2=E8=AF=95=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=87=8C=E5=88=9D=E8=AF=95=E6=97=A5=E6=9C=9F=E5=92=8C?= =?UTF-8?q?=E7=BB=88=E8=AF=95=E6=97=A5=E6=9C=9F=E7=9A=84=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/entity/ResumeFollowRecord.java | 23 +++++++++++++++++++ .../mapper/ResumeFollowRecordMapper.xml | 4 ++++ 2 files changed, 27 insertions(+) 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,