新增面试管理里初试日期和终试日期的筛选

This commit is contained in:
lw 2024-07-13 15:58:50 +08:00
parent 828000fe41
commit 61d03988ba
2 changed files with 27 additions and 0 deletions

View File

@ -325,6 +325,29 @@ public class ResumeFollowRecord implements Serializable {
@TableField(exist = false)
private List<String> 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;
}

View File

@ -74,6 +74,10 @@
<if test="req.secondPass!=null and req.secondPass!=''">and second_pass = #{req.secondPass}</if>
<if test="req.finalPass!=null and req.finalPass!=''">and final_pass = #{req.finalPass}</if>
<if test="req.isPass!=null and req.isPass!=''">and is_pass = #{req.isPass}</if>
<if test="req.startFirstDate!=null">and first_date is not null and first_date <![CDATA[>=]]> #{req.startFirstDate}</if>
<if test="req.endFirstDate!=null">and first_date is not null and first_date <![CDATA[<=]]> #{req.endFirstDate}</if>
<if test="req.startFinalDate!=null">and final_date is not null and final_date <![CDATA[>=]]> #{req.startFinalDate}</if>
<if test="req.endFinalDate!=null">and final_date is not null and final_date <![CDATA[<=]]> #{req.endFinalDate}</if>
<if test="req.id!=null">and id = #{req.id}</if>
order by
case when topping = b'1' then 0 else 1 end,