Commit 72304b6c authored by hongguangwu's avatar hongguangwu

createTimeEnd

parent 67857e3f
...@@ -446,4 +446,12 @@ public class TEmployeeContractInfo extends BaseEntity { ...@@ -446,4 +446,12 @@ public class TEmployeeContractInfo extends BaseEntity {
@Schema(description = "导出的表头的Set") @Schema(description = "导出的表头的Set")
private Set<String> exportFields; private Set<String> exportFields;
@TableField(exist = false)
@Schema(description = "创建时间起")
private String createTimeStart;
@TableField(exist = false)
@Schema(description = "创建时间止")
private String createTimeEnd;
} }
...@@ -369,6 +369,13 @@ ...@@ -369,6 +369,13 @@
AND a.CONTRACT_SUB_NAME = #{tEmployeeContractInfo.contractSubName} AND a.CONTRACT_SUB_NAME = #{tEmployeeContractInfo.contractSubName}
</if> </if>
<if test="tEmployeeContractInfo.createTimeStart != null and tEmployeeContractInfo.createTimeStart.trim() != ''">
AND a.CREATE_TIME >= #{tEmployeeContractInfo.createTimeStart}
</if>
<if test="tEmployeeContractInfo.createTimeEnd != null and tEmployeeContractInfo.createTimeEnd.trim() != ''">
AND a.CREATE_TIME <![CDATA[ <= ]]> #{tEmployeeContractInfo.createTimeEnd}
</if>
</if> </if>
</sql> </sql>
<!--tEmployeeContractInfo简单分页查询--> <!--tEmployeeContractInfo简单分页查询-->
......
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