|
|
@ -273,7 +273,7 @@
|
|
|
|
<foreach collection="invoiceActions2" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
<foreach collection="invoiceActions2" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
#{item}
|
|
|
|
#{item}
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
|
and status = 7
|
|
|
|
and (status = 7 or status = 10)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
@ -288,7 +288,7 @@
|
|
|
|
<foreach collection="invoiceActions2" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
<foreach collection="invoiceActions2" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
#{item}
|
|
|
|
#{item}
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
|
and status = 7)
|
|
|
|
and (status = 7 or status = 10))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -322,8 +322,8 @@
|
|
|
|
AND fromCorp = #{fromCorp}
|
|
|
|
AND fromCorp = #{fromCorp}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="unionRemark != null and unionRemark != ''">
|
|
|
|
<if test="unionRemark != null and unionRemark != ''">
|
|
|
|
AND (io.remark like concat('%', #{unionRemark}, '%')
|
|
|
|
AND (io_order.remark like concat('%', #{unionRemark}, '%')
|
|
|
|
or io.outSickInfo like concat('%', #{unionRemark}, '%'))
|
|
|
|
or io_order.outSickInfo like concat('%', #{unionRemark}, '%'))
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="customerId != null and customerId != ''">
|
|
|
|
<if test="customerId != null and customerId != ''">
|
|
|
|
AND customerId = #{customerId}
|
|
|
|
AND customerId = #{customerId}
|
|
|
|