浏览代码

区域debug

tags/24080901
PoffyZhang 1年前
父节点
当前提交
9e44681b74
共有 1 个文件被更改,包括 16 次插入16 次删除
  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 查看文件

@@ -244,12 +244,12 @@ public class GovProjectCollectionManage {
if(Objects.nonNull(oldBaseInfo)){
saveBase.setId(oldBaseInfo.getId());
}else{
if(Objects.nonNull(saveBase.getBaseAreaCode())){
saveBase.setAreaCode(saveBase.getBaseAreaCode());
saveBase.setBaseAreaCode(saveBase.getBaseAreaCode() + BizConst.NINE_AREA_CODE_LAST);
}
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());
baseinfoService.saveOrUpdate(saveBase);

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


正在加载...
取消
保存