ariesy 认证人是admin的时候,查询已认证的空的数据

release
yefei 2 years ago
parent 57b337ea06
commit 60e02298bc
  1. 5
      dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml

@ -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}

Loading…
Cancel
Save