Merge remote-tracking branch 'origin/test' into test

release
yishiqihuasheng 2 years ago
commit 34869e5b13
  1. 4
      dxhy-base/src/main/java/com/dxhy/base/service/invoicecheck/BaseInvoiceManualCheckServiceImpl.java

@ -587,6 +587,7 @@ public class BaseInvoiceManualCheckServiceImpl extends MpBaseServiceImpl<BaseTDx
@Override
public List<String> getGfshList(List<String> gfshList, List<String> companyCodes) {
log.info("111111111111111111111111111111111111111111111");
DynamicContextHolder.push(DbConstant.BASICS_READ);
List<SysDeptEntity> taxnoList = sysDeptAuthDao.queryTaxnoList();
List<SysDeptEntity> parentIdList = sysDeptAuthDao.queryParentIdList();
@ -595,13 +596,16 @@ public class BaseInvoiceManualCheckServiceImpl extends MpBaseServiceImpl<BaseTDx
Map<String, String> parentIdMap = parentIdList.stream().collect(Collectors.toMap(SysDeptEntity::getDeptId, SysDeptEntity::getParentId));
log.info("taxnoMap={},parentIdMap={}",taxnoMap,parentIdMap);
log.info("22222222222222222222222222222222222222222222222222222");
String gfsh = "";
for(String companyCode : companyCodes){
log.info("33333333333333333333333333333333333333333333333333");
QueryWrapper<SysDeptEntity> wrapper = new QueryWrapper<>();
wrapper.eq("org_code",companyCode);
SysDeptEntity sysDeptEntity = sysDeptAuthDao.selectOne(wrapper);
if(sysDeptEntity != null) {
log.info("4444444444444444444444444444444444444444444444444");
String dId = sysDeptEntity.getDeptId();
gfsh = getGfsh(dId, taxnoMap, parentIdMap);

Loading…
Cancel
Save