|
@@ -21,6 +21,7 @@ import com.ningdatech.pmapi.projectdeclared.model.dto.DefaultDeclaredDTO; |
|
|
import com.ningdatech.pmapi.projectdeclared.model.dto.PretrialDeclaredExportDTO; |
|
|
import com.ningdatech.pmapi.projectdeclared.model.dto.PretrialDeclaredExportDTO; |
|
|
import com.ningdatech.pmapi.projectdeclared.model.dto.ProjectConditionDTO; |
|
|
import com.ningdatech.pmapi.projectdeclared.model.dto.ProjectConditionDTO; |
|
|
import com.ningdatech.pmapi.projectdeclared.model.req.ConstrctionPlanListReq; |
|
|
import com.ningdatech.pmapi.projectdeclared.model.req.ConstrctionPlanListReq; |
|
|
|
|
|
import com.ningdatech.pmapi.projectlib.enumeration.InstTypeEnum; |
|
|
import com.ningdatech.pmapi.projectlib.enumeration.ProjectStatusEnum; |
|
|
import com.ningdatech.pmapi.projectlib.enumeration.ProjectStatusEnum; |
|
|
import com.ningdatech.pmapi.projectlib.enumeration.ProjectTypeEnum; |
|
|
import com.ningdatech.pmapi.projectlib.enumeration.ProjectTypeEnum; |
|
|
import com.ningdatech.pmapi.projectlib.helper.ProjectHelper; |
|
|
import com.ningdatech.pmapi.projectlib.helper.ProjectHelper; |
|
@@ -186,6 +187,7 @@ public class ConstructionPlanManage { |
|
|
ProjectInst projectInst = new ProjectInst(); |
|
|
ProjectInst projectInst = new ProjectInst(); |
|
|
projectInst.setProjectId(project.getId()); |
|
|
projectInst.setProjectId(project.getId()); |
|
|
projectInst.setInstCode(instanceId); |
|
|
projectInst.setInstCode(instanceId); |
|
|
|
|
|
projectInst.setInstType(InstTypeEnum.CONSTRUCTION_PLAN_REVIEW.getCode()); |
|
|
projectInst.setCreatOn(LocalDateTime.now()); |
|
|
projectInst.setCreatOn(LocalDateTime.now()); |
|
|
projectInst.setUpdateOn(LocalDateTime.now()); |
|
|
projectInst.setUpdateOn(LocalDateTime.now()); |
|
|
projectInstService.save(projectInst); |
|
|
projectInstService.save(projectInst); |
|
|