diff --git a/dxhy-core/src/main/resources/mapper/ConfirmDao.xml b/dxhy-core/src/main/resources/mapper/ConfirmDao.xml index 7606fef6..7e108f48 100644 --- a/dxhy-core/src/main/resources/mapper/ConfirmDao.xml +++ b/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