Ver código fonte

测试部署

tags/24080901
PoffyZhang 1 ano atrás
pai
commit
accbc8b98a
1 arquivos alterados com 1 adições e 1 exclusões
  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 Ver arquivo

@@ -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);


Carregando…
Cancelar
Salvar