Bladeren bron

测试部署

master
PoffyZhang 1 jaar geleden
bovenliggende
commit
accbc8b98a
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java Bestand weergeven

@@ -404,7 +404,6 @@ public class GovProjectCollectionManage {
//项目名去重
checkName(baseProjName,baseProjId);
GovBizProjectBaseinfo saveBase = BeanUtil.copyProperties(baseinfo,GovBizProjectBaseinfo.class);
saveBase.setBaseProjId(baseProjId);
saveBase.setBaseProjName(baseProjName);
saveBase.setIsEffective(BizProjectContant.ProjectCollection.IS_EFFECTIVE);
if(Objects.nonNull(oldBaseInfo)){
@@ -423,6 +422,7 @@ public class GovProjectCollectionManage {
//如果是新增的话 要生成 项目编号
if(StringUtils.isBlank(baseProjId) || BizProjectContant.ProjectCollection.DRAFT.equals(baseProjId)){
baseProjId = generateProjectCodeUtil.generateProjectCode(saveDTO);
saveBase.setBaseProjId(baseProjId);
}

baseinfoService.saveOrUpdate(saveBase);


Laden…
Annuleren
Opslaan