|
@@ -242,15 +242,13 @@ public class SelfAuthAppLyController {
|
|
|
@ApiOperation(value = "查询流程定义详情")
|
|
|
@ApiImplicitParam(value = "applyType 审批类型")
|
|
|
@GetMapping("flowDefineInfo")
|
|
|
- public Result<FlowDefineInfoVo> getFlowDefineInfo(@RequestParam(value = "applyType") String applyType) {
|
|
|
+ public Result<String> getFlowDefineInfo(@RequestParam(value = "applyType") String applyType) {
|
|
|
ResponseDTO<FlowDefineInfoDTO> status = selfAuthApplyFacade.getFlowDefineInfo(applyType);
|
|
|
if(!ResponseStatus.SUCCESS_CODE.equals(status.getStatusCode())) {
|
|
|
return Result.fail(status.getStatusCode(), status.getMessage());
|
|
|
} else {
|
|
|
FlowDefineInfoDTO dto = (FlowDefineInfoDTO) status.getResult();
|
|
|
- FlowDefineInfoVo vo = new FlowDefineInfoVo();
|
|
|
- BeanUtils.copyProperties(dto, vo);
|
|
|
- return Result.success(vo);
|
|
|
+ return Result.success(dto.getProcessName());
|
|
|
}
|
|
|
}
|
|
|
}
|