arieay 增加已入账状态筛选条件

release
yefei 2 years ago
parent 467c21f9b3
commit 0cecd31d98
  1. 5
      dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml

@ -77,6 +77,7 @@
and t.rzh_yesorno = '0'
and t.auth_status in('0','5','6')
and t.export_mark = '0'
and t.inaccount_status = '1'
and t.company = #{company}
<if test="sfkrz != '99' and sfkrz != null and sfkrz != '' and sfkrz != 'null' and sfkrz == '1'.toString()">
and t.invoice_status in ('0','7')
@ -133,10 +134,10 @@
and t.qs_status = #{qszt}
</if>
<if test="bzdh != null and bzdh != '' and bzdh != 'null' and bzdh != '99'">
and t.bzdh = #{bzdh} and t.inaccount_status = '1'
and t.bzdh = #{bzdh}
</if>
<if test=" bzdh == ''">
and t.bzdh is not null and t.inaccount_status = '1'
and t.bzdh is not null
</if>
<if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99' and inAccountStatus == '1'.toString()">
and t.inaccount_status = #{inAccountStatus}

Loading…
Cancel
Save