ariesy 增加日志打印

release
yefei 2 years ago
parent 50db85f76f
commit da9738c17a
  1. 18
      dxhy-base/src/main/java/com/dxhy/base/service/invoicecheck/BaseInvoiceManualCheckServiceImpl.java

@ -602,10 +602,11 @@ public class BaseInvoiceManualCheckServiceImpl extends MpBaseServiceImpl<BaseTDx
if(sysDeptEntity != null) {
String dId = sysDeptEntity.getDeptId();
log.info("获取deptId为:{}",dId);
if(StringUtils.isNotEmpty(dId)) {
gfsh = getGfsh(dId, taxnoMap, parentIdMap);
gfshList.add(gfsh);
log.info("获取的税号为:{}",gfsh);
log.info("获取的税号为:{}", gfsh);
}
}
}
log.info("购方税号list为:{}",gfshList);
@ -615,13 +616,16 @@ public class BaseInvoiceManualCheckServiceImpl extends MpBaseServiceImpl<BaseTDx
}
private String getGfsh(String deptId,Map<String, String> taxnoMap,Map<String, String> parentIdMap) {
log.info("deptId={}",deptId);
String taxno = taxnoMap.get(deptId);
String taxno = "";
if(StringUtils.isNotEmpty(deptId)) {
log.info("deptId={}", deptId);
taxno = taxnoMap.get(deptId);
if(StringUtils.isEmpty(taxno)){
if (StringUtils.isEmpty(taxno)) {
deptId = parentIdMap.get(deptId);
log.info("获取map中的deptId:{}",deptId);
getGfsh(deptId,taxnoMap,parentIdMap);
log.info("获取map中的deptId:{}", deptId);
getGfsh(deptId, taxnoMap, parentIdMap);
}
}
return taxno;
}

Loading…
Cancel
Save