|
|
@@ -134,7 +134,7 @@ public class ProjectChangeManage { |
|
|
|
ProcessStartParamsVo params = new ProcessStartParamsVo(); |
|
|
|
params.setUser(declaredProjectHelper.buildUser(userDetail)); |
|
|
|
params.setProcessUsers(Collections.emptyMap()); |
|
|
|
params.setFormData(Collections.emptyMap()); |
|
|
|
params.setFormData(BeanUtil.beanToMap(req)); |
|
|
|
|
|
|
|
// 获取发起单位、发起单位主管单位、发起单位上级主管条线单位信息 |
|
|
|
Map<String, OrgInfoDTO> orgModelMap = declaredProjectHelper.buildOrgModelMap(userDetail, project); |
|
|
@@ -154,7 +154,8 @@ public class ProjectChangeManage { |
|
|
|
projectChangeHistory.setProjectCode(project.getProjectCode()); |
|
|
|
projectChangeHistory.setStatus(ProjectChangeStatus.ON_CHANGE_APPLY.getCode()); |
|
|
|
projectChangeHistory.setInstCode(instId); |
|
|
|
projectChangeHistoryService.save(projectChangeHistory); |
|
|
|
projectChangeHistory.setId(req.getId()); |
|
|
|
projectChangeHistoryService.saveOrUpdate(projectChangeHistory); |
|
|
|
} |
|
|
|
|
|
|
|
public PageVo<ProjectChangeListVO> page(ProjectListReq req) { |
|
|
@@ -178,11 +179,8 @@ public class ProjectChangeManage { |
|
|
|
return PageVo.of(data, page.getTotal()); |
|
|
|
} |
|
|
|
|
|
|
|
public ProjectChangeDetailVO changeDetail(String projectCode, String instCode) { |
|
|
|
LambdaQueryWrapper<ProjectChangeHistory> wrapper = Wrappers.lambdaQuery(ProjectChangeHistory.class) |
|
|
|
.eq(ProjectChangeHistory::getProjectCode, projectCode) |
|
|
|
.eq(ProjectChangeHistory::getInstCode, instCode); |
|
|
|
ProjectChangeHistory changeHistory = projectChangeHistoryService.getOne(wrapper); |
|
|
|
public ProjectChangeDetailVO changeDetail(Long id) { |
|
|
|
ProjectChangeHistory changeHistory = projectChangeHistoryService.getById(id); |
|
|
|
if (changeHistory == null) { |
|
|
|
return null; |
|
|
|
} |
|
|
|