|
@@ -0,0 +1,49 @@
|
|
|
+package com.diagbot.web;
|
|
|
+
|
|
|
+
|
|
|
+import com.diagbot.annotation.SysLogger;
|
|
|
+import com.diagbot.client.MedAppealInfoServiceClient;
|
|
|
+import com.diagbot.dto.RespDTO;
|
|
|
+import com.diagbot.dto.Response;
|
|
|
+import com.diagbot.entity.WorkFlowInfo;
|
|
|
+import com.diagbot.vo.MedAppealInfoVO;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+import springfox.documentation.annotations.ApiIgnore;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 申诉审核 前端控制器
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author wangfeng
|
|
|
+ * @since 2020-07-06
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/qc/appealInfo")
|
|
|
+@Api(value = "申诉审核API", tags = { "申诉审核API" })
|
|
|
+@SuppressWarnings("unchecked")
|
|
|
+public class MedAppealInfoController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ MedAppealInfoServiceClient medAppealInfoServiceClient;
|
|
|
+
|
|
|
+ @ApiOperation(value = "获取申诉任务接口[by:songxl]",
|
|
|
+ notes = "获取申诉任务接口")
|
|
|
+ @PostMapping("/getWorkById")
|
|
|
+ @SysLogger("getWorkById")
|
|
|
+ public RespDTO<MedAppealInfoVO> getWorkById(@RequestBody MedAppealInfoVO medAppealInfoVO) {
|
|
|
+ Response<WorkFlowInfo> res = medAppealInfoServiceClient.getWorkById(medAppealInfoVO);
|
|
|
+ return RespDTO.onSuc(res.getData());
|
|
|
+ }
|
|
|
+
|
|
|
+}
|