Parcourir la source

修改项目的时候 修改tongTime

tags/24080901
PoffyZhang il y a 1 an
Parent
révision
12588dc774
2 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. +2
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java
  2. +5
    -0
      syn-data-task/src/main/java/com/ningdatech/syndataapi/open/manage/ProjectReceiveManage.java

+ 2
- 0
pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java Voir le fichier

@@ -700,6 +700,7 @@ public class GovProjectCollectionManage {
GovBizProjectBaseinfoDTO baseinfo = saveDTO.getBaseinfo();
baseinfo.setBaseProjId(baseProjId);
baseinfo.setBaseProjName(baseProjName);
baseinfo.setBaseAreaCode(baseAreaCode);
baseinfo.setIsEffective(BizProjectContant.ProjectCollection.IS_EFFECTIVE);
GovBizProjectBaseinfo oldBaseInfo = baseinfoService.getOne(Wrappers.lambdaQuery(GovBizProjectBaseinfo.class)
.eq(GovBizProjectBaseinfo::getBaseProjId, baseProjId)
@@ -908,6 +909,7 @@ public class GovProjectCollectionManage {
GovOperationProjectBaseinfoDTO baseinfo = saveDTO.getBaseinfo();
baseinfo.setBaseProjId(baseProjId);
baseinfo.setBaseProjName(baseProjName);
baseinfo.setBaseAreaCode(baseAreaCode);
baseinfo.setIsEffective(BizProjectContant.ProjectCollection.IS_EFFECTIVE);
GovOperationProjectBaseinfo oldBaseInfo = operationProjectBaseinfoService.getOne(Wrappers.lambdaQuery(GovOperationProjectBaseinfo.class)
.eq(GovOperationProjectBaseinfo::getBaseProjId, baseProjId)


+ 5
- 0
syn-data-task/src/main/java/com/ningdatech/syndataapi/open/manage/ProjectReceiveManage.java Voir le fichier

@@ -131,6 +131,7 @@ public class ProjectReceiveManage {
}else{
saveCimplement.setOp(BizConst.OP_INSERT);
saveCimplement.setTongID(oldCimplement.getTongID());
saveCimplement.setTongTime(LocalDateTime.now());
}
saveCimplement.setBizTime(LocalDateTime.now());
cimplementService.saveOrUpdate(saveCimplement);
@@ -156,6 +157,7 @@ public class ProjectReceiveManage {
}else{
saveMimplement.setOp(BizConst.OP_INSERT);
saveMimplement.setTongID(oldMimplement.getTongID());
saveMimplement.setTongTime(LocalDateTime.now());
}
saveMimplement.setBizTime(LocalDateTime.now());
mimplementService.saveOrUpdate(saveMimplement);
@@ -210,6 +212,7 @@ public class ProjectReceiveManage {
}else{
saveApprove.setOp(BizConst.OP_INSERT);
saveApprove.setTongID(oldApprove.getTongID());
saveApprove.setTongTime(LocalDateTime.now());
}
saveApprove.setBizTime(LocalDateTime.now());
approveService.saveOrUpdate(saveApprove);
@@ -236,6 +239,7 @@ public class ProjectReceiveManage {
}else{
saveApply.setOp(BizConst.OP_INSERT);
saveApply.setTongID(oldApply.getTongID());
saveApply.setTongTime(LocalDateTime.now());
}

saveApply.setBizTime(LocalDateTime.now());
@@ -255,6 +259,7 @@ public class ProjectReceiveManage {
}else {
saveBase.setOp(BizConst.OP_INSERT);
saveBase.setTongID(oldBaseInfo.getTongID());
saveBase.setTongTime(LocalDateTime.now());
}
saveBase.setBizTime(LocalDateTime.now());
baseInfoService.saveOrUpdate(saveBase);


Chargement…
Annuler
Enregistrer