Commit b3d17586 by 王志超

feat: 子工单topoId替换

parent 48e34aca
Pipeline #86193 passed with stages
in 1 minute 54 seconds
......@@ -289,6 +289,9 @@ public class ChangeSubFlowBiz {
// 调用主单的 detail 方法获取完整信息
ChangeFlowVO changeFlowVO = changeFlowBiz.detail(changeRecord.getFlowId());
// topoId:这是子单详情页面,需要设置为子单的 topoId
changeFlowVO.setTopoId(ChangeFlowEnum.CHANGE_SUB_FLOW.getTopoId());
// 只保留该变更行动工单下绑定的行动项
List<ChangeExecRecord> execRecords = changeFlowExecService.getBySubFlowRecordId(subFlowRecordId);
if (CollectionUtils.isNotEmpty(execRecords)) {
......
......@@ -44,17 +44,6 @@ public class ChangeSubFlowController {
}
/**
* 发起变更执行工单
*
* @return
*/
@GetMapping("/list")
public AjaxResult<List<ChangeExecRecord>> list(@RequestParam(name = "page", defaultValue = "1") Integer page,
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize) {
return AjaxResult.success(changeSubFlowBiz.list(page, pageSize));
}
/**
* 变更行动工单列表查询,new
*
* @param page 页码
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment