瀏覽代碼

feature(红名单查询参数添加): 红名单查询参数添加

红名单查询参数添加
mazq 3 年之前
父節點
當前提交
4e86781b86

+ 2 - 4
src/main/java/com/dragoninfo/dcuc/authweb/restcontroller/selfauth/controller/SelfAuthAppLyController.java

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