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