ariesy 增加日志打印

release
yefei 2 years ago
parent e4f11fb3df
commit 9aaa0d4cf4
  1. 8
      dxhy-base/src/main/java/com/dxhy/base/service/invoicecheck/BaseInvoiceManualCheckServiceImpl.java

@ -587,27 +587,23 @@ 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();
Map<String, String> taxnoMap = taxnoList.stream().collect(Collectors.toMap(SysDeptEntity::getDeptId, SysDeptEntity::getTaxno));
Map<String, String> parentIdMap = parentIdList.stream().collect(Collectors.toMap(SysDeptEntity::getDeptId, SysDeptEntity::getParentId));
Map<String, String> parentIdMap = parentIdList.stream().collect(Collectors.toMap(SysDeptEntity::getDeptId, key2 -> key2.getParentId()==null?"":key2.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();
log.info("获取deptId为:{}",dId);
gfsh = getGfsh(dId, taxnoMap, parentIdMap);
}
}

Loading…
Cancel
Save