remove 删除无用参数

This commit is contained in:
gssong 2024-06-03 21:22:38 +08:00
parent 867e7bf665
commit cfc2dba275
2 changed files with 1 additions and 9 deletions

View File

@ -67,10 +67,4 @@ public class TestLeaveVo implements Serializable {
@ExcelProperty(value = "状态") @ExcelProperty(value = "状态")
private String status; private String status;
/**
* 流程实例id
*/
@ExcelProperty(value = "流程实例id")
private String processInstanceId;
} }

View File

@ -46,9 +46,7 @@ public class TestLeaveServiceImpl implements ITestLeaveService {
*/ */
@Override @Override
public TestLeaveVo queryById(Long id) { public TestLeaveVo queryById(Long id) {
TestLeaveVo testLeaveVo = baseMapper.selectVoById(id); return baseMapper.selectVoById(id);
testLeaveVo.setProcessInstanceId(workflowService.getInstanceIdByBusinessKey(String.valueOf(id)));
return testLeaveVo;
} }
/** /**