|
|
|
@ -155,12 +155,15 @@ |
|
|
|
|
<if test="qsr != null and qsr != '' and qsr != 'null' "> |
|
|
|
|
and t.qs_name = #{qsr} |
|
|
|
|
</if> |
|
|
|
|
<if test="rzhr != null and rzhr != '' and rzhr != 'null'"> |
|
|
|
|
<if test="rzhr != null and rzhr != '' and rzhr != 'null' and rzhr != 'admin'"> |
|
|
|
|
and t.confirm_user in |
|
|
|
|
<foreach collection="rzhr" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
<if test="rzhr == 'admin'"> |
|
|
|
|
and (t.confirm_user = #{rzhr} or t.confirm_user is null or t.confirm_user = '') and t.auth_status = '4' |
|
|
|
|
</if> |
|
|
|
|
<if |
|
|
|
|
test="invoiceNo != null and invoiceNo != '' and invoiceNo != 'null' "> |
|
|
|
|
and t.invoice_no = #{invoiceNo} |
|
|
|
|