diff --git a/dxhy-extend/src/main/java/com/dxhy/extend/service/pool/ExtInvoicePoolServiceImpl.java b/dxhy-extend/src/main/java/com/dxhy/extend/service/pool/ExtInvoicePoolServiceImpl.java index 834d1aff..a0130ef4 100644 --- a/dxhy-extend/src/main/java/com/dxhy/extend/service/pool/ExtInvoicePoolServiceImpl.java +++ b/dxhy-extend/src/main/java/com/dxhy/extend/service/pool/ExtInvoicePoolServiceImpl.java @@ -47,7 +47,7 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl pramsMap, int curr, int size) { @@ -518,8 +518,8 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl getGfshList(List gfshList, List companyCodes) { DynamicContextHolder.push(DbConstant.BASICS_READ); - List taxnoList = sysDeptAuthDao.queryTaxnoList(); - List parentIdList = sysDeptAuthDao.queryParentIdList(); + List taxnoList = sysAuthDao.queryTaxnoList(); + List parentIdList = sysAuthDao.queryParentIdList(); Map taxnoMap = taxnoList.stream().collect(Collectors.toMap(SysDeptEntity::getDeptId, SysDeptEntity::getTaxno)); Map parentIdMap = parentIdList.stream().collect(Collectors.toMap(SysDeptEntity::getDeptId, e -> e.getParentId() == null ? "" : e.getParentId())); @@ -530,7 +530,7 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl wrapper = new QueryWrapper<>(); wrapper.eq("org_code", companyCode); - List sysDeptEntityList = sysDeptAuthDao.selectList(wrapper); + List sysDeptEntityList = sysAuthDao.selectList(wrapper); SysDeptEntity sysDeptEntity = sysDeptEntityList.get(0); if (sysDeptEntity != null) { String dId = sysDeptEntity.getDeptId(); diff --git a/dxhy-extend/src/main/resources/mapper/SysAuthDao.xml b/dxhy-extend/src/main/resources/mapper/SysAuthDao.xml index ec6385fa..1515b2f9 100644 --- a/dxhy-extend/src/main/resources/mapper/SysAuthDao.xml +++ b/dxhy-extend/src/main/resources/mapper/SysAuthDao.xml @@ -58,7 +58,7 @@ and org_type != '1' - select * from sys_dept where company = #{company} @@ -66,19 +66,6 @@ order by org_code - -