Kaynağa Gözat

优化 采购信息的异步线程池

master
PoffyZhang 1 yıl önce
ebeveyn
işleme
c94c642b38
1 değiştirilmiş dosya ile 6 ekleme ve 4 silme
  1. +6
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java

+ 6
- 4
pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java Dosyayı Görüntüle

@@ -387,10 +387,6 @@ public class GovProjectCollectionManage {
String baseProjId = base.getBaseProjId();
String baseAreaCode = user.getRegionCode() + BizConst.NINE_AREA_CODE_LAST;
String baseProjName = base.getBaseProjName();
//如果是新增的话 要生成 项目编号
if(StringUtils.isBlank(baseProjId) || BizProjectContant.ProjectCollection.DRAFT.equals(baseProjId)){
baseProjId = generateProjectCodeUtil.generateProjectCode(saveDTO);
}

//1.保存基本信息
GovBizProjectBaseinfoDTO baseinfo = saveDTO.getBaseinfo();
@@ -418,6 +414,12 @@ public class GovProjectCollectionManage {
saveBase.setBizTime(LocalDateTime.now());
saveBase.setUpdateBy(user.getUsername());
saveBase.setUpdateOn(LocalDateTime.now());

//如果是新增的话 要生成 项目编号
if(StringUtils.isBlank(baseProjId) || BizProjectContant.ProjectCollection.DRAFT.equals(baseProjId)){
baseProjId = generateProjectCodeUtil.generateProjectCode(saveDTO);
}

baseinfoService.saveOrUpdate(saveBase);

// 2.保存 申报信息


Yükleniyor…
İptal
Kaydet