@@ -7,13 +7,10 @@ import java.util.stream.Collectors; | |||||
import com.hz.pm.api.performance.model.entity.*; | import com.hz.pm.api.performance.model.entity.*; | ||||
import com.hz.pm.api.performance.service.*; | import com.hz.pm.api.performance.service.*; | ||||
import com.hz.pm.api.projectlib.enumeration.ProjectTypeNewEnum; | import com.hz.pm.api.projectlib.enumeration.ProjectTypeNewEnum; | ||||
import com.hz.pm.api.projectlib.helper.ProjectHelper; | |||||
import com.hz.pm.api.projectlib.manage.ProjectLibManage; | import com.hz.pm.api.projectlib.manage.ProjectLibManage; | ||||
import com.hz.pm.api.projectlib.model.req.ProjectListReq; | import com.hz.pm.api.projectlib.model.req.ProjectListReq; | ||||
import com.hz.pm.api.projectlib.model.vo.ProjectApplicationVO; | import com.hz.pm.api.projectlib.model.vo.ProjectApplicationVO; | ||||
import com.hz.pm.api.projectlib.model.vo.ProjectLibListItemVO; | import com.hz.pm.api.projectlib.model.vo.ProjectLibListItemVO; | ||||
import com.wflow.workflow.bean.vo.ProcessTaskVo; | |||||
import org.checkerframework.checker.nullness.qual.Nullable; | |||||
import org.springframework.stereotype.Component; | import org.springframework.stereotype.Component; | ||||
import org.springframework.transaction.annotation.Transactional; | import org.springframework.transaction.annotation.Transactional; | ||||
@@ -44,7 +41,6 @@ import com.hz.pm.api.performance.model.vo.PerformanceAppraisalProjectVO; | |||||
import com.hz.pm.api.performance.model.vo.PerformanceAppraisalVO; | import com.hz.pm.api.performance.model.vo.PerformanceAppraisalVO; | ||||
import com.hz.pm.api.projectlib.enumeration.InstTypeEnum; | import com.hz.pm.api.projectlib.enumeration.InstTypeEnum; | ||||
import com.hz.pm.api.projectlib.enumeration.ProjectStatusEnum; | import com.hz.pm.api.projectlib.enumeration.ProjectStatusEnum; | ||||
import com.hz.pm.api.projectlib.enumeration.ProjectTypeEnum; | |||||
import com.hz.pm.api.projectlib.model.entity.Project; | import com.hz.pm.api.projectlib.model.entity.Project; | ||||
import com.hz.pm.api.projectlib.model.entity.ProjectApplication; | import com.hz.pm.api.projectlib.model.entity.ProjectApplication; | ||||
import com.hz.pm.api.projectlib.model.entity.ProjectInst; | import com.hz.pm.api.projectlib.model.entity.ProjectInst; | ||||
@@ -400,7 +396,7 @@ public class PerformanceAppraisalPlanManage { | |||||
ProjectInst projectInst = projectInstService.getOne(Wrappers.lambdaQuery(ProjectInst.class) | ProjectInst projectInst = projectInstService.getOne(Wrappers.lambdaQuery(ProjectInst.class) | ||||
.in(ProjectInst::getProjectId, allVersionProjectIds) | .in(ProjectInst::getProjectId, allVersionProjectIds) | ||||
.eq(ProjectInst::getInstType, InstTypeEnum.PROJECT_FINAL_INSPECTION.getCode()) | .eq(ProjectInst::getInstType, InstTypeEnum.PROJECT_FINAL_INSPECTION.getCode()) | ||||
.orderByDesc(ProjectInst::getCreatOn) | |||||
.orderByDesc(ProjectInst::getCreateOn) | |||||
.last(BizConst.LIMIT_1)); | .last(BizConst.LIMIT_1)); | ||||
if (Objects.isNull(projectInst)){ | if (Objects.isNull(projectInst)){ | ||||
@@ -203,7 +203,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.setCreatOn(LocalDateTime.now()); | |||||
projectInst.setCreateOn(LocalDateTime.now()); | |||||
projectInst.setUpdateOn(LocalDateTime.now()); | projectInst.setUpdateOn(LocalDateTime.now()); | ||||
projectInst.setInstType(ProjectProcessStageEnum.CONSTRUCTION_PROJECT_APPROVAL_PROCESS.getCode()); | projectInst.setInstType(ProjectProcessStageEnum.CONSTRUCTION_PROJECT_APPROVAL_PROCESS.getCode()); | ||||
projectInstService.save(projectInst); | projectInstService.save(projectInst); | ||||
@@ -257,7 +257,7 @@ public class ConstructionPlanManage { | |||||
projectInst.setProjectId(project.getId()); | projectInst.setProjectId(project.getId()); | ||||
projectInst.setInstCode(instanceId); | projectInst.setInstCode(instanceId); | ||||
projectInst.setInstType(InstTypeEnum.CONSTRUCTION_PLAN_REVIEW.getCode()); | projectInst.setInstType(InstTypeEnum.CONSTRUCTION_PLAN_REVIEW.getCode()); | ||||
projectInst.setCreatOn(LocalDateTime.now()); | |||||
projectInst.setCreateOn(LocalDateTime.now()); | |||||
projectInst.setUpdateOn(LocalDateTime.now()); | projectInst.setUpdateOn(LocalDateTime.now()); | ||||
projectInstService.save(projectInst); | projectInstService.save(projectInst); | ||||
} catch (Exception e) { | } catch (Exception e) { | ||||
@@ -19,7 +19,6 @@ import com.hz.pm.api.projectdeclared.model.dto.DefaultDeclaredDTO; | |||||
import com.hz.pm.api.projectdeclared.model.dto.PretrialDeclaredExportDTO; | import com.hz.pm.api.projectdeclared.model.dto.PretrialDeclaredExportDTO; | ||||
import com.hz.pm.api.projectdeclared.model.req.PrequalificationDeclaredListReq; | import com.hz.pm.api.projectdeclared.model.req.PrequalificationDeclaredListReq; | ||||
import com.hz.pm.api.projectlib.enumeration.ProjectStatusEnum; | import com.hz.pm.api.projectlib.enumeration.ProjectStatusEnum; | ||||
import com.hz.pm.api.projectlib.enumeration.ProjectTypeEnum; | |||||
import com.hz.pm.api.projectlib.enumeration.ProjectTypeNewEnum; | import com.hz.pm.api.projectlib.enumeration.ProjectTypeNewEnum; | ||||
import com.hz.pm.api.projectlib.helper.ProjectHelper; | import com.hz.pm.api.projectlib.helper.ProjectHelper; | ||||
import com.hz.pm.api.projectlib.manage.ProjectLibManage; | import com.hz.pm.api.projectlib.manage.ProjectLibManage; | ||||
@@ -232,7 +231,7 @@ public class PrequalificationDeclaredProjectManage { | |||||
ProjectInst projectInst = new ProjectInst(); | ProjectInst projectInst = new ProjectInst(); | ||||
projectInst.setProjectId(project.getId()); | projectInst.setProjectId(project.getId()); | ||||
projectInst.setInstCode(instanceId); | projectInst.setInstCode(instanceId); | ||||
projectInst.setCreatOn(LocalDateTime.now()); | |||||
projectInst.setCreateOn(LocalDateTime.now()); | |||||
projectInst.setUpdateOn(LocalDateTime.now()); | projectInst.setUpdateOn(LocalDateTime.now()); | ||||
projectInst.setInstType(ProjectProcessStageEnum.PROJECT_PREQUALIFICATION_APPROVAL_PROCESS.getCode()); | projectInst.setInstType(ProjectProcessStageEnum.PROJECT_PREQUALIFICATION_APPROVAL_PROCESS.getCode()); | ||||
projectInstService.save(projectInst); | projectInstService.save(projectInst); | ||||
@@ -120,7 +120,7 @@ public class ReviewByDeptJointManage { | |||||
ProjectInst projectInst = new ProjectInst(); | ProjectInst projectInst = new ProjectInst(); | ||||
projectInst.setProjectId(project.getId()); | projectInst.setProjectId(project.getId()); | ||||
projectInst.setInstCode(instanceId); | projectInst.setInstCode(instanceId); | ||||
projectInst.setCreatOn(LocalDateTime.now()); | |||||
projectInst.setCreateOn(LocalDateTime.now()); | |||||
projectInst.setUpdateOn(LocalDateTime.now()); | projectInst.setUpdateOn(LocalDateTime.now()); | ||||
projectInst.setInstType(ProjectProcessStageEnum.DEPARTMENT_JOINT_APPROVAL_PROCESS.getCode()); | projectInst.setInstType(ProjectProcessStageEnum.DEPARTMENT_JOINT_APPROVAL_PROCESS.getCode()); | ||||
projectInstService.save(projectInst); | projectInstService.save(projectInst); | ||||
@@ -64,7 +64,7 @@ public class ConstructionPlanReviewHandle extends AbstractProcessBusinessHandle | |||||
.in(ProjectInst::getProjectId, allVersionProjectIds) | .in(ProjectInst::getProjectId, allVersionProjectIds) | ||||
.eq(ProjectInst::getInstType, InstTypeEnum.CONSTRUCTION_PLAN_REVIEW.getCode()) | .eq(ProjectInst::getInstType, InstTypeEnum.CONSTRUCTION_PLAN_REVIEW.getCode()) | ||||
.ne(ProjectInst::getInstCode, TodoCenterConstant.Declared.NULL_INST_CODE) | .ne(ProjectInst::getInstCode, TodoCenterConstant.Declared.NULL_INST_CODE) | ||||
.orderByDesc(ProjectInst::getCreatOn) | |||||
.orderByDesc(ProjectInst::getCreateOn) | |||||
.last(BizConst.LIMIT_1)); | .last(BizConst.LIMIT_1)); | ||||
ProcessProgressVo instanceDetail = null; | ProcessProgressVo instanceDetail = null; | ||||
// 未找到当前版本项目的建设方案审核流程且当前项目版本号大于1(是被驳回重新申报的项目) | // 未找到当前版本项目的建设方案审核流程且当前项目版本号大于1(是被驳回重新申报的项目) | ||||
@@ -65,7 +65,7 @@ public class DeptUnitedReviewHandle extends AbstractProcessBusinessHandle { | |||||
.in(ProjectInst::getProjectId, allVersionProjectIds) | .in(ProjectInst::getProjectId, allVersionProjectIds) | ||||
.eq(ProjectInst::getInstType, InstTypeEnum.DEPT_UNITED_REVIEW.getCode()) | .eq(ProjectInst::getInstType, InstTypeEnum.DEPT_UNITED_REVIEW.getCode()) | ||||
.ne(ProjectInst::getInstCode, TodoCenterConstant.Declared.NULL_INST_CODE) | .ne(ProjectInst::getInstCode, TodoCenterConstant.Declared.NULL_INST_CODE) | ||||
.orderByDesc(ProjectInst::getCreatOn) | |||||
.orderByDesc(ProjectInst::getCreateOn) | |||||
.last(BizConst.LIMIT_1)); | .last(BizConst.LIMIT_1)); | ||||
if (Objects.isNull(projectInst)) { | if (Objects.isNull(projectInst)) { | ||||
processDetailVO.setStepStatus(StepStatusEnum.NOT_START); | processDetailVO.setStepStatus(StepStatusEnum.NOT_START); | ||||
@@ -68,7 +68,7 @@ public class PreliminaryPreviewHandle extends AbstractProcessBusinessHandle { | |||||
.in(ProjectInst::getProjectId, allVersionProjectIds) | .in(ProjectInst::getProjectId, allVersionProjectIds) | ||||
.eq(ProjectInst::getInstType, InstTypeEnum.PRELIMINARY_PREVIEW.getCode()) | .eq(ProjectInst::getInstType, InstTypeEnum.PRELIMINARY_PREVIEW.getCode()) | ||||
.ne(ProjectInst::getInstCode, TodoCenterConstant.Declared.NULL_INST_CODE) | .ne(ProjectInst::getInstCode, TodoCenterConstant.Declared.NULL_INST_CODE) | ||||
.orderByDesc(ProjectInst::getCreatOn) | |||||
.orderByDesc(ProjectInst::getCreateOn) | |||||
.last("limit 1")); | .last("limit 1")); | ||||
ProcessProgressVo instanceDetail = null; | ProcessProgressVo instanceDetail = null; | ||||
// 未找到当前版本项目的预审审核流程且当前项目版本号大于1(是被驳回重新申报的项目或者建设方案申报的项目) | // 未找到当前版本项目的预审审核流程且当前项目版本号大于1(是被驳回重新申报的项目或者建设方案申报的项目) | ||||
@@ -62,7 +62,7 @@ public class ProjectFinalInspectionHandle extends AbstractProcessBusinessHandle | |||||
.in(ProjectInst::getProjectId, allVersionProjectIds) | .in(ProjectInst::getProjectId, allVersionProjectIds) | ||||
.eq(ProjectInst::getInstType, InstTypeEnum.PROJECT_FINAL_INSPECTION.getCode()) | .eq(ProjectInst::getInstType, InstTypeEnum.PROJECT_FINAL_INSPECTION.getCode()) | ||||
.ne(ProjectInst::getInstCode, TodoCenterConstant.Declared.NULL_INST_CODE) | .ne(ProjectInst::getInstCode, TodoCenterConstant.Declared.NULL_INST_CODE) | ||||
.orderByDesc(ProjectInst::getCreatOn) | |||||
.orderByDesc(ProjectInst::getCreateOn) | |||||
.last(BizConst.LIMIT_1)); | .last(BizConst.LIMIT_1)); | ||||
if (Objects.isNull(projectInst)){ | if (Objects.isNull(projectInst)){ | ||||
@@ -67,7 +67,7 @@ public class UnitInnerAuditHandle extends AbstractProcessBusinessHandle { | |||||
.in(ProjectInst::getProjectId, allVersionProjectIds) | .in(ProjectInst::getProjectId, allVersionProjectIds) | ||||
.eq(ProjectInst::getInstType, InstTypeEnum.UNIT_INNER_AUDIT.getCode()) | .eq(ProjectInst::getInstType, InstTypeEnum.UNIT_INNER_AUDIT.getCode()) | ||||
.ne(ProjectInst::getInstCode, TodoCenterConstant.Declared.NULL_INST_CODE) | .ne(ProjectInst::getInstCode, TodoCenterConstant.Declared.NULL_INST_CODE) | ||||
.orderByDesc(ProjectInst::getCreatOn) | |||||
.orderByDesc(ProjectInst::getCreateOn) | |||||
.last(BizConst.LIMIT_1)); | .last(BizConst.LIMIT_1)); | ||||
ProcessProgressVo instanceDetail = null; | ProcessProgressVo instanceDetail = null; | ||||
@@ -78,7 +78,6 @@ import com.hz.pm.api.safety.service.IPersonSafetyInfoService; | |||||
import com.hz.pm.api.safety.service.ISupplierSafetyQualificationService; | import com.hz.pm.api.safety.service.ISupplierSafetyQualificationService; | ||||
import com.hz.pm.api.todocenter.model.req.ProcessDetailReq; | import com.hz.pm.api.todocenter.model.req.ProcessDetailReq; | ||||
import com.hz.pm.api.todocenter.service.ITodoService; | import com.hz.pm.api.todocenter.service.ITodoService; | ||||
import com.hz.pm.api.user.entity.UserInfo; | |||||
import com.hz.pm.api.user.security.auth.model.UserFullInfoDTO; | import com.hz.pm.api.user.security.auth.model.UserFullInfoDTO; | ||||
import com.hz.pm.api.user.security.auth.model.UserInfoDetails; | import com.hz.pm.api.user.security.auth.model.UserInfoDetails; | ||||
import com.hz.pm.api.user.util.LoginUserUtil; | import com.hz.pm.api.user.util.LoginUserUtil; | ||||
@@ -855,7 +854,7 @@ public class ProjectLibManage { | |||||
ProjectInst projectInst = new ProjectInst(); | ProjectInst projectInst = new ProjectInst(); | ||||
projectInst.setProjectId(project.getId()); | projectInst.setProjectId(project.getId()); | ||||
projectInst.setInstCode(instanceId); | projectInst.setInstCode(instanceId); | ||||
projectInst.setCreatOn(LocalDateTime.now()); | |||||
projectInst.setCreateOn(LocalDateTime.now()); | |||||
projectInst.setUpdateOn(LocalDateTime.now()); | projectInst.setUpdateOn(LocalDateTime.now()); | ||||
projectInst.setInstType(ProjectProcessStageEnum.ORG_INTERNAL_APPROVAL_PROCESS.getCode()); | projectInst.setInstType(ProjectProcessStageEnum.ORG_INTERNAL_APPROVAL_PROCESS.getCode()); | ||||
projectInstService.save(projectInst); | projectInstService.save(projectInst); | ||||
@@ -886,7 +885,7 @@ public class ProjectLibManage { | |||||
ProjectInst projectInst = new ProjectInst(); | ProjectInst projectInst = new ProjectInst(); | ||||
projectInst.setProjectId(project.getId()); | projectInst.setProjectId(project.getId()); | ||||
projectInst.setInstCode(instanceId); | projectInst.setInstCode(instanceId); | ||||
projectInst.setCreatOn(LocalDateTime.now()); | |||||
projectInst.setCreateOn(LocalDateTime.now()); | |||||
projectInst.setUpdateOn(LocalDateTime.now()); | projectInst.setUpdateOn(LocalDateTime.now()); | ||||
projectInst.setInstType(ProjectProcessStageEnum.CONSTRUCTION_PROJECT_APPROVAL_PROCESS.getCode()); | projectInst.setInstType(ProjectProcessStageEnum.CONSTRUCTION_PROJECT_APPROVAL_PROCESS.getCode()); | ||||
projectInstService.save(projectInst); | projectInstService.save(projectInst); | ||||
@@ -1109,7 +1108,7 @@ public class ProjectLibManage { | |||||
ProjectInst projectInst = new ProjectInst(); | ProjectInst projectInst = new ProjectInst(); | ||||
projectInst.setProjectId(project.getId()); | projectInst.setProjectId(project.getId()); | ||||
projectInst.setInstCode(instanceId); | projectInst.setInstCode(instanceId); | ||||
projectInst.setCreatOn(LocalDateTime.now()); | |||||
projectInst.setCreateOn(LocalDateTime.now()); | |||||
projectInst.setUpdateOn(LocalDateTime.now()); | projectInst.setUpdateOn(LocalDateTime.now()); | ||||
projectInst.setInstType(instType); | projectInst.setInstType(instType); | ||||
projectInstService.save(projectInst); | projectInstService.save(projectInst); | ||||
@@ -1143,7 +1142,7 @@ public class ProjectLibManage { | |||||
ProjectInst projectInst = new ProjectInst(); | ProjectInst projectInst = new ProjectInst(); | ||||
projectInst.setProjectId(project.getId()); | projectInst.setProjectId(project.getId()); | ||||
projectInst.setInstCode(instanceId); | projectInst.setInstCode(instanceId); | ||||
projectInst.setCreatOn(LocalDateTime.now()); | |||||
projectInst.setCreateOn(LocalDateTime.now()); | |||||
projectInst.setUpdateOn(LocalDateTime.now()); | projectInst.setUpdateOn(LocalDateTime.now()); | ||||
projectInst.setInstType(instType); | projectInst.setInstType(instType); | ||||
projectInstService.save(projectInst); | projectInstService.save(projectInst); | ||||
@@ -1185,7 +1184,7 @@ public class ProjectLibManage { | |||||
ProjectInst projectInst = new ProjectInst(); | ProjectInst projectInst = new ProjectInst(); | ||||
projectInst.setProjectId(project.getId()); | projectInst.setProjectId(project.getId()); | ||||
projectInst.setInstCode(instanceId); | projectInst.setInstCode(instanceId); | ||||
projectInst.setCreatOn(LocalDateTime.now()); | |||||
projectInst.setCreateOn(LocalDateTime.now()); | |||||
projectInst.setUpdateOn(LocalDateTime.now()); | projectInst.setUpdateOn(LocalDateTime.now()); | ||||
projectInst.setInstType(instType); | projectInst.setInstType(instType); | ||||
projectInstService.save(projectInst); | projectInstService.save(projectInst); | ||||
@@ -1225,7 +1224,7 @@ public class ProjectLibManage { | |||||
ProjectInst projectInst = new ProjectInst(); | ProjectInst projectInst = new ProjectInst(); | ||||
projectInst.setProjectId(project.getId()); | projectInst.setProjectId(project.getId()); | ||||
projectInst.setInstCode(instanceId); | projectInst.setInstCode(instanceId); | ||||
projectInst.setCreatOn(LocalDateTime.now()); | |||||
projectInst.setCreateOn(LocalDateTime.now()); | |||||
projectInst.setUpdateOn(LocalDateTime.now()); | projectInst.setUpdateOn(LocalDateTime.now()); | ||||
projectInst.setInstType(instType); | projectInst.setInstType(instType); | ||||
projectInstService.save(projectInst); | projectInstService.save(projectInst); | ||||
@@ -1451,7 +1450,7 @@ public class ProjectLibManage { | |||||
projectInst.setProjectId(project.getId()); | projectInst.setProjectId(project.getId()); | ||||
projectInst.setInstCode(instanceId); | projectInst.setInstCode(instanceId); | ||||
projectInst.setInstType(InstTypeEnum.APPLY_DELAY.getCode()); | projectInst.setInstType(InstTypeEnum.APPLY_DELAY.getCode()); | ||||
projectInst.setCreatOn(LocalDateTime.now()); | |||||
projectInst.setCreateOn(LocalDateTime.now()); | |||||
projectInst.setUpdateOn(LocalDateTime.now()); | projectInst.setUpdateOn(LocalDateTime.now()); | ||||
projectInstService.save(projectInst); | projectInstService.save(projectInst); | ||||
} | } | ||||
@@ -1481,7 +1480,7 @@ public class ProjectLibManage { | |||||
projectInst.setProjectId(project.getId()); | projectInst.setProjectId(project.getId()); | ||||
projectInst.setInstCode(instanceId); | projectInst.setInstCode(instanceId); | ||||
projectInst.setInstType(InstTypeEnum.APPLY_BORROW.getCode()); | projectInst.setInstType(InstTypeEnum.APPLY_BORROW.getCode()); | ||||
projectInst.setCreatOn(LocalDateTime.now()); | |||||
projectInst.setCreateOn(LocalDateTime.now()); | |||||
projectInst.setUpdateOn(LocalDateTime.now()); | projectInst.setUpdateOn(LocalDateTime.now()); | ||||
projectInstService.save(projectInst); | projectInstService.save(projectInst); | ||||
} | } | ||||
@@ -38,7 +38,7 @@ public class ProjectInst implements Serializable { | |||||
private Integer instType; | private Integer instType; | ||||
@ApiModelProperty("创建时间") | @ApiModelProperty("创建时间") | ||||
private LocalDateTime creatOn; | |||||
private LocalDateTime createOn; | |||||
@ApiModelProperty("修改时间") | @ApiModelProperty("修改时间") | ||||
private LocalDateTime updateOn; | private LocalDateTime updateOn; | ||||
@@ -1170,7 +1170,7 @@ public class TodoCenterManage { | |||||
newPi.setProjectId(project.getId()); | newPi.setProjectId(project.getId()); | ||||
newPi.setInstType(oldInst.getInstType()); | newPi.setInstType(oldInst.getInstType()); | ||||
newPi.setInstCode(instCode); | newPi.setInstCode(instCode); | ||||
newPi.setCreatOn(LocalDateTime.now()); | |||||
newPi.setCreateOn(LocalDateTime.now()); | |||||
newPi.setUpdateOn(LocalDateTime.now()); | newPi.setUpdateOn(LocalDateTime.now()); | ||||
projectInstService.save(newPi); | projectInstService.save(newPi); | ||||
@@ -1574,11 +1574,11 @@ public class TodoCenterManage { | |||||
ProjectInst projectInst = projectInstService.getOne(Wrappers.lambdaQuery(ProjectInst.class) | ProjectInst projectInst = projectInstService.getOne(Wrappers.lambdaQuery(ProjectInst.class) | ||||
.eq(ProjectInst::getProjectId, projectId) | .eq(ProjectInst::getProjectId, projectId) | ||||
.eq(ProjectInst::getInstType, InstTypeEnum.PRELIMINARY_PREVIEW.getCode()) | .eq(ProjectInst::getInstType, InstTypeEnum.PRELIMINARY_PREVIEW.getCode()) | ||||
.orderByDesc(ProjectInst::getCreatOn) | |||||
.orderByDesc(ProjectInst::getCreateOn) | |||||
.last("limit 1")); | .last("limit 1")); | ||||
LocalDateTime time = null; | LocalDateTime time = null; | ||||
if (Objects.nonNull(projectInst)) { | if (Objects.nonNull(projectInst)) { | ||||
time = projectInst.getCreatOn(); | |||||
time = projectInst.getCreateOn(); | |||||
paramsMap.put("time", NdDateUtils.format(time, "yyyy-MM-dd HH:mm")); | paramsMap.put("time", NdDateUtils.format(time, "yyyy-MM-dd HH:mm")); | ||||
} else { | } else { | ||||
paramsMap.put("time", null); | paramsMap.put("time", null); | ||||
@@ -70,6 +70,7 @@ security: | |||||
- /api/v1/wps-convert/** | - /api/v1/wps-convert/** | ||||
- /api/v1/belong-org/business-strip/list | - /api/v1/belong-org/business-strip/list | ||||
- /expert/ephemeral/*/registration | - /expert/ephemeral/*/registration | ||||
- /open/api/** | |||||
role-map: | role-map: | ||||
"engineer": | "engineer": | ||||
"project_manager": | "project_manager": | ||||
@@ -71,6 +71,7 @@ security: | |||||
- /api/v1/wps-convert/** | - /api/v1/wps-convert/** | ||||
- /api/v1/belong-org/business-strip/list | - /api/v1/belong-org/business-strip/list | ||||
- /expert/ephemeral/*/registration | - /expert/ephemeral/*/registration | ||||
- /open/api/** | |||||
role-map: | role-map: | ||||
"engineer": | "engineer": | ||||
"project_manager": | "project_manager": | ||||