fix: 局端税编查询问题修复

release
liufeilong 2 years ago
parent 8c7187bbbf
commit b60387f672
  1. 4
      order-management-base-service/src/main/resources/mybatis/mapper/TaxClassCodeMapper.xml

@ -102,7 +102,7 @@
</if>
</if>
<if test="parameter != null and parameter != ''">
<if test="dataType == 0 and type == '' and type == null">
<if test="dataType == 0 and (type == null or type == '')">
AND concat_ws(',',tcc.spbm,tcc.spmc,tcc.spjc,tcc.zzstsgl) LIKE
CONCAT(CONCAT('%',#{parameter}),'%')
</if>
@ -111,7 +111,7 @@
CONCAT(CONCAT('%',#{parameter}),'%')
</if>
<if test="dataType == 0 and type != '' and type != null">
<if test="dataType == 0 and (type != null and type != '')">
AND concat_ws(',',tcc.spbm,tcc.spmc,tcc.spjc,tcc.zzstsgl,tcc.sm)
LIKE CONCAT(CONCAT('%',#{parameter}),'%')
</if>

Loading…
Cancel
Save