Parcourir la source

生成编号的时候 会有默认值

tags/24080901
PoffyZhang il y a 1 an
Parent
révision
61cf5aeab6
1 fichiers modifiés avec 7 ajouts et 1 suppressions
  1. +7
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java

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

@@ -105,7 +105,7 @@ public class GovProjectCollectionManage {
.eq(GovBizProjectBaseinfo::getBaseBuildDeprtDing,user.getEmpPosUnitCode())
.eq(StringUtils.isNotBlank(req.getAreaCode()),GovBizProjectBaseinfo::getAreaCode,req.getAreaCode())
.eq(StringUtils.isNotBlank(req.getRegionCode()),GovBizProjectBaseinfo::getAreaCode,req.getRegionCode())
.orderByDesc(GovBizProjectBaseinfo::getTongTime);
.orderByDesc(GovBizProjectBaseinfo::getBizTime);
baseinfoService.page(page,wrapper);

if(0L == page.getTotal()){
@@ -250,6 +250,7 @@ public class GovProjectCollectionManage {
}
saveBase.setTongTime(LocalDateTime.now());
}
saveBase.setBizTime(LocalDateTime.now());
baseinfoService.saveOrUpdate(saveBase);

// 2.保存 申报信息
@@ -271,6 +272,7 @@ public class GovProjectCollectionManage {
}
saveApply.setTongTime(LocalDateTime.now());
}
saveApply.setBizTime(LocalDateTime.now());
projectApplyService.saveOrUpdate(saveApply);
}

@@ -293,6 +295,7 @@ public class GovProjectCollectionManage {
}
saveApprove.setTongTime(LocalDateTime.now());
}
saveApprove.setBizTime(LocalDateTime.now());
approveService.saveOrUpdate(saveApprove);
}

@@ -316,6 +319,7 @@ public class GovProjectCollectionManage {
}
saveCimplement.setTongTime(LocalDateTime.now());
}
saveCimplement.setBizTime(LocalDateTime.now());
cimplementService.saveOrUpdate(saveCimplement);
}

@@ -340,6 +344,7 @@ public class GovProjectCollectionManage {
}
saveMimplement.setTongTime(LocalDateTime.now());
}
saveMimplement.setBizTime(LocalDateTime.now());
mimplementService.saveOrUpdate(saveMimplement);
}

@@ -361,6 +366,7 @@ public class GovProjectCollectionManage {
saveProcure.setAreaCode(saveBase.getAreaCode());
}
saveProcure.setTongTime(LocalDateTime.now());
saveProcure.setBizTime(LocalDateTime.now());
procureService.save(saveProcure);
index++;
}


Chargement…
Annuler
Enregistrer