Browse Source

区域debug

master
PoffyZhang 1 year ago
parent
commit
9e44681b74
1 changed files with 16 additions and 16 deletions
  1. +16
    -16
      pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java

+ 16
- 16
pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java View File

@@ -244,12 +244,12 @@ public class GovProjectCollectionManage {
if(Objects.nonNull(oldBaseInfo)){ if(Objects.nonNull(oldBaseInfo)){
saveBase.setId(oldBaseInfo.getId()); saveBase.setId(oldBaseInfo.getId());
}else{ }else{
if(Objects.nonNull(saveBase.getBaseAreaCode())){
saveBase.setAreaCode(saveBase.getBaseAreaCode());
saveBase.setBaseAreaCode(saveBase.getBaseAreaCode() + BizConst.NINE_AREA_CODE_LAST);
}
saveBase.setTongTime(LocalDateTime.now()); saveBase.setTongTime(LocalDateTime.now());
} }
if(Objects.nonNull(saveBase.getBaseAreaCode())){
saveBase.setAreaCode(saveBase.getBaseAreaCode());
saveBase.setBaseAreaCode(saveBase.getBaseAreaCode() + BizConst.NINE_AREA_CODE_LAST);
}
saveBase.setBizTime(LocalDateTime.now()); saveBase.setBizTime(LocalDateTime.now());
baseinfoService.saveOrUpdate(saveBase); baseinfoService.saveOrUpdate(saveBase);


@@ -267,11 +267,11 @@ public class GovProjectCollectionManage {
if(Objects.nonNull(oldApply)){ if(Objects.nonNull(oldApply)){
saveApply.setId(oldApply.getId()); saveApply.setId(oldApply.getId());
}else{ }else{
if(Objects.nonNull(saveBase.getAreaCode())){
saveApply.setAreaCode(saveBase.getAreaCode());
}
saveApply.setTongTime(LocalDateTime.now()); saveApply.setTongTime(LocalDateTime.now());
} }
if(Objects.nonNull(saveBase.getAreaCode())){
saveApply.setAreaCode(saveBase.getAreaCode());
}
saveApply.setBizTime(LocalDateTime.now()); saveApply.setBizTime(LocalDateTime.now());
projectApplyService.saveOrUpdate(saveApply); projectApplyService.saveOrUpdate(saveApply);
} }
@@ -290,11 +290,11 @@ public class GovProjectCollectionManage {
if(Objects.nonNull(oldApprove)){ if(Objects.nonNull(oldApprove)){
saveApprove.setId(oldApprove.getId()); saveApprove.setId(oldApprove.getId());
}else{ }else{
if(Objects.nonNull(saveBase.getAreaCode())){
saveApprove.setAreaCode(saveBase.getAreaCode());
}
saveApprove.setTongTime(LocalDateTime.now()); saveApprove.setTongTime(LocalDateTime.now());
} }
if(Objects.nonNull(saveBase.getAreaCode())){
saveApprove.setAreaCode(saveBase.getAreaCode());
}
saveApprove.setBizTime(LocalDateTime.now()); saveApprove.setBizTime(LocalDateTime.now());
approveService.saveOrUpdate(saveApprove); approveService.saveOrUpdate(saveApprove);
} }
@@ -314,11 +314,11 @@ public class GovProjectCollectionManage {
if(Objects.nonNull(oldCimplement)){ if(Objects.nonNull(oldCimplement)){
saveCimplement.setId(oldCimplement.getId()); saveCimplement.setId(oldCimplement.getId());
}else{ }else{
if(Objects.nonNull(saveBase.getAreaCode())){
saveCimplement.setAreaCode(saveBase.getAreaCode());
}
saveCimplement.setTongTime(LocalDateTime.now()); saveCimplement.setTongTime(LocalDateTime.now());
} }
if(Objects.nonNull(saveBase.getAreaCode())){
saveCimplement.setAreaCode(saveBase.getAreaCode());
}
saveCimplement.setBizTime(LocalDateTime.now()); saveCimplement.setBizTime(LocalDateTime.now());
cimplementService.saveOrUpdate(saveCimplement); cimplementService.saveOrUpdate(saveCimplement);
} }
@@ -339,11 +339,11 @@ public class GovProjectCollectionManage {
if(Objects.nonNull(oldMimplement)){ if(Objects.nonNull(oldMimplement)){
saveMimplement.setId(oldMimplement.getId()); saveMimplement.setId(oldMimplement.getId());
}else{ }else{
if(Objects.nonNull(saveBase.getAreaCode())){
saveMimplement.setAreaCode(saveBase.getAreaCode());
}
saveMimplement.setTongTime(LocalDateTime.now()); saveMimplement.setTongTime(LocalDateTime.now());
} }
if(Objects.nonNull(saveBase.getAreaCode())){
saveMimplement.setAreaCode(saveBase.getAreaCode());
}
saveMimplement.setBizTime(LocalDateTime.now()); saveMimplement.setBizTime(LocalDateTime.now());
mimplementService.saveOrUpdate(saveMimplement); mimplementService.saveOrUpdate(saveMimplement);
} }


Loading…
Cancel
Save