修改mapper文件

release
yishiqihuasheng 2 years ago
parent 4f2ea3d630
commit 1db1969b39
  1. 4
      dxhy-export-domestic/src/main/resources/mapper/DomesticExportInvoiceMapper.xml
  2. 2
      dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml

@ -1097,11 +1097,11 @@
and p.gf_tax_no = #{queryParams.gfsh}
</if>
<if test="queryParams.rzhYesorno != null and queryParams.rzhYesorno != '' and queryParams.rzhYesorno != '3'">
<if test="queryParams.rzhYesorno != null and queryParams.rzhYesorno != '' and queryParams.rzhYesorno != '3'.toString()">
and p.rzh_yesorno = #{queryParams.rzhYesorno}
</if>
<if test="queryParams.rzhYesorno != null and queryParams.rzhYesorno != '' and queryParams.rzhYesorno == '3'">
<if test="queryParams.rzhYesorno != null and queryParams.rzhYesorno != '' and queryParams.rzhYesorno == '3'.toString()">
and (p.rzh_yesorno = '1' or p.rzh_yesorno = '2')
</if>

@ -228,7 +228,7 @@
and t.rzh_yesorno = #{rzzt}
</if>
<if test="rzzt != null and rzzt != '' and rzzt != 'null' and rzzt != '99' and rzzt == 3">
and (t.rzh_yesorno = '1' or t.rzt_yesorno = '2' )
and (t.rzh_yesorno = '1' or t.rzh_yesorno = '2' )
</if>
<if test="rzlx != null and rzlx != '' and rzlx != 'null' and rzlx != '99'">
and t.rzlx = #{rzlx}

Loading…
Cancel
Save