ariesy 增加日志打印

release
yefei 2 years ago
parent c3afa24ca2
commit 3850a78033
  1. 4
      dxhy-base/src/main/java/com/dxhy/base/service/invoicecheck/BaseInvoiceManualCheckServiceImpl.java

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

Loading…
Cancel
Save