Commit e4901d56 authored by hongguangwu's avatar hongguangwu

CDATA

parent 4990ff8f
......@@ -381,4 +381,12 @@ public class TEmployeeInfo extends BaseEntity {
@Schema(description = "导出的表头的Set")
private Set<String> exportFields;
@Schema(description = "减档时间起")
@TableField(exist = false)
private Date leaveTimeStart;
@Schema(description = "减档时间止")
@TableField(exist = false)
private Date leaveTimeEnd;
}
......@@ -387,6 +387,12 @@
<if test="tEmployeeInfo.leaveTime != null">
AND a.LEAVE_TIME = #{tEmployeeInfo.leaveTime}
</if>
<if test="tEmployeeInfo.leaveTimeStart != null">
AND a.LEAVE_TIME >= #{tEmployeeInfo.leaveTimeStart}
</if>
<if test="tEmployeeInfo.leaveTimeEnd != null">
AND a.LEAVE_TIME <![CDATA[ <= ]]> #{tEmployeeInfo.leaveTimeEnd}
</if>
<if test="tEmployeeInfo.leaveReason != null and tEmployeeInfo.leaveReason.trim() != ''">
AND a.LEAVE_REASON = #{tEmployeeInfo.leaveReason}
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment