风险发票税号去掉空字符串和null

release
yishiqihuasheng 2 years ago
parent aa95cf99f0
commit 3ff554cfb4
  1. 2
      dxhy-core/src/main/resources/mapper/job/ViolationTaxnoDao.xml

@ -15,6 +15,8 @@
where company = #{company} where company = #{company}
and org_type = '5' and org_type = '5'
and del_flag = '0' and del_flag = '0'
and taxno != ''
and taxno is not null
</select> </select>
<select id="selectViolationTaxno" resultType="com.dxhy.core.job.entity.TDxViolationTaxno" databaseId="mysql"> <select id="selectViolationTaxno" resultType="com.dxhy.core.job.entity.TDxViolationTaxno" databaseId="mysql">
select gf_tax_no,xf_tax_no,xf_name,#{company} as company select gf_tax_no,xf_tax_no,xf_name,#{company} as company

Loading…
Cancel
Save