切换分支备份

dev2.0
anthonywj 2 years ago
parent b4fdb1a165
commit b7ac44591c

@ -53,9 +53,9 @@
</if> </if>
<if test="keyWord != null and keyWord != ''"> <if test="keyWord != null and keyWord != ''">
AND ( AND (
bc.name like concat('%', #{keyWord}, '%') bc.name like concat('%', #{keyWord}, '%')
or io.remark like concat('%', #{keyWord}, '%') or io.remark like concat('%', #{keyWord}, '%')
or io.fromInvCode like concat('%', #{keyWord}, '%') ) or io.fromInvCode like concat('%', #{keyWord}, '%'))
</if> </if>
<if test="deptCode != null and deptCode != ''"> <if test="deptCode != null and deptCode != ''">
AND io.deptCode = #{deptCode} AND io.deptCode = #{deptCode}
@ -75,6 +75,10 @@
<if test="filterSelected != null and filterSelected == true"> <if test="filterSelected != null and filterSelected == true">
AND io.preInSelected is null AND io.preInSelected is null
</if> </if>
<if test="filterSelected != null and filterSelected == false">
AND io.preInSelected is not null
</if>
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''"> <if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
AND date_format(io.createTime, '%Y-%m-%d') between date_format(#{startTime}, '%Y-%m-%d') and AND date_format(io.createTime, '%Y-%m-%d') between date_format(#{startTime}, '%Y-%m-%d') and
date_format(#{endTime}, '%Y-%m-%d') date_format(#{endTime}, '%Y-%m-%d')

Loading…
Cancel
Save