ariesy 解决筛选admin的数据为空的问题

release
yefei 2 years ago
parent 29b90688dc
commit eee1264bb6
  1. 6
      dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml

@ -156,10 +156,11 @@
and t.qs_name = #{qsr}
</if>
<if test="rzhr != null and rzhr != '' and rzhr != 'null' ">
and t.confirm_user in
and (t.confirm_user in
<foreach collection="rzhr" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
or t.confirm_user is null or t.confirm_user = '')
</if>
<if
test="invoiceNo != null and invoiceNo != '' and invoiceNo != 'null' ">
@ -434,10 +435,11 @@
and t.qs_name = #{qsr}
</if>
<if test="rzhr != null and rzhr != '' and rzhr != 'null' ">
and t.confirm_user in
and (t.confirm_user in
<foreach collection="rzhr" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
or t.confirm_user is null or t.confirm_user = '')
</if>
<if test="paymentDateStart != null and paymentDateStart != '' and paymentDateStart != 'null' ">
<![CDATA[ AND t.payment_date >= #{paymentDateStart} ]]>

Loading…
Cancel
Save