ariesy 去除重复税号

release
yefei 2 years ago
parent 1812801da7
commit b3a673e983
  1. 9
      dxhy-core/src/main/resources/mapper/ConfirmDao.xml

@ -6,9 +6,12 @@
select distinct g.taxno, g.db_name, g.company, g.ace_id, g.ace_key, g.taxname
from sys_dept g
where g.org_type = '5'
and cj_status = '1'
and g.ace_id is not null
and g.ace_key is not null
and cj_status = '1'
and g.ace_id is not null
and g.ace_key is not null
and g.taxno is not null
and g.taxno !=''
group by g.taxno
</select>
<select id="getUpgradTaxno" resultType="com.dxhy.core.job.entity.TAcOrg">
select g.taxno, g.db_name, g.company, g.taxname

Loading…
Cancel
Save