|
|
@ -51,6 +51,12 @@
|
|
|
|
<if test="fromCorp != null and fromCorp != ''">
|
|
|
|
<if test="fromCorp != null and fromCorp != ''">
|
|
|
|
AND io.fromCorp = #{fromCorp}
|
|
|
|
AND io.fromCorp = #{fromCorp}
|
|
|
|
</if>
|
|
|
|
</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}, '%') )
|
|
|
|
|
|
|
|
</if>
|
|
|
|
<if test="deptCode != null and deptCode != ''">
|
|
|
|
<if test="deptCode != null and deptCode != ''">
|
|
|
|
AND io.deptCode = #{deptCode}
|
|
|
|
AND io.deptCode = #{deptCode}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|