|
|
|
@ -90,16 +90,21 @@
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
<if test="supInoivceSearch != null">
|
|
|
|
|
AND ((`action` in
|
|
|
|
|
<foreach collection="invoiceActions1" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
|
#{item}
|
|
|
|
|
</foreach>
|
|
|
|
|
and status = 10) or ((
|
|
|
|
|
`action` in
|
|
|
|
|
<foreach collection="invoiceActions2" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
|
#{item}
|
|
|
|
|
</foreach>) and status = 7
|
|
|
|
|
))
|
|
|
|
|
<if test="invoiceActions1 != null and invoiceActions1.size() != 0">
|
|
|
|
|
AND ((`action` in
|
|
|
|
|
<foreach collection="invoiceActions1" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
|
#{item}
|
|
|
|
|
</foreach>
|
|
|
|
|
and status = 10)
|
|
|
|
|
</if>
|
|
|
|
|
<if test="invoiceActions2 != null and invoiceActions2.size() != 0">
|
|
|
|
|
or ((
|
|
|
|
|
`action` in
|
|
|
|
|
<foreach collection="invoiceActions2" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
|
#{item}
|
|
|
|
|
</foreach>) and status = 7
|
|
|
|
|
))
|
|
|
|
|
</if>
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
order by createTime desc
|
|
|
|
|