|
|
@@ -207,15 +207,14 @@ public class GovProjectCollectionManage { |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public String save(GovBizProjectSaveDTO saveDTO) { |
|
|
|
String baseProjId = saveDTO.getBaseProjId(); |
|
|
|
|
|
|
|
GovBizProjectBaseinfoDTO base = saveDTO.getBaseinfo(); |
|
|
|
String baseProjId = base.getBaseProjId(); |
|
|
|
String baseProjName = base.getBaseProjName(); |
|
|
|
//如果是新增的话 要生成 项目编号 |
|
|
|
if(StringUtils.isBlank(baseProjId)){ |
|
|
|
baseProjId = generateProjectCodeUtil.generateProjectCode(saveDTO); |
|
|
|
} |
|
|
|
|
|
|
|
String baseProjName = saveDTO.getBaseProjName(); |
|
|
|
|
|
|
|
//1.保存基本信息 |
|
|
|
GovBizProjectBaseinfoDTO baseinfo = saveDTO.getBaseinfo(); |
|
|
|
baseinfo.setBaseProjId(baseProjId); |
|
|
|