一日流程评估时间过滤

This commit is contained in:
zhanglipeng
2021-04-25 15:33:47 +08:00
parent 61ad21e35d
commit b84e9d745c
7 changed files with 232 additions and 74 deletions

View File

@ -107,6 +107,12 @@
<if test="kfcs != null ">and d.kfcs = #{kfcs}</if>
<if test="pgdx != null ">and d.pgdx = #{pgdx}</if>
<if test="createUserid != null ">and d.create_userid = #{createUserid}</if>
<if test="beginTime != null and beginTime != ''"><!-- 开始时间检索 -->
AND date_format(d.create_time,'%y%m%d') &gt;= date_format(#{beginTime},'%y%m%d')
</if>
<if test="endTime != null and endTime != ''"><!-- 结束时间检索 -->
AND date_format(d.create_time,'%y%m%d') &lt;= date_format(#{endTime},'%y%m%d')
</if>
<!-- 数据范围过滤 -->
${dataScope}
order by d.classid