|
|
@ -92,7 +92,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<if test="supInoivceSearch != null">
|
|
|
|
<if test="supInoivceSearch != null">
|
|
|
|
<if test="invoiceActions1 != null and invoiceActions1.size() != 0">
|
|
|
|
<if test="invoiceActions1 != null and invoiceActions1.size() != 0">
|
|
|
|
AND (`action` in
|
|
|
|
AND ((`action` in
|
|
|
|
<foreach collection="invoiceActions1" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
<foreach collection="invoiceActions1" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
#{item}
|
|
|
|
#{item}
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
@ -105,9 +105,32 @@
|
|
|
|
#{item}
|
|
|
|
#{item}
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
|
and status = 7
|
|
|
|
and status = 7
|
|
|
|
)
|
|
|
|
))
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<if test="supInoivceSearch != null and invoiceActions1 == null and invoiceActions1.size() == 0 ">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<if test="invoiceActions2 != null and invoiceActions2.size() != 0">
|
|
|
|
|
|
|
|
and (
|
|
|
|
|
|
|
|
`action` in
|
|
|
|
|
|
|
|
<foreach collection="invoiceActions2" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
|
|
|
|
#{item}
|
|
|
|
|
|
|
|
</foreach>
|
|
|
|
|
|
|
|
and status = 7
|
|
|
|
|
|
|
|
)
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="supInoivceSearch != null and invoiceActions2 == null and invoiceActions2.size()== 0 ">
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
order by createTime desc
|
|
|
|
order by createTime desc
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|