|
|
@@ -1,6 +1,7 @@
|
|
|
package org.jeecg.modules.medical.controller;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
@@ -9,6 +10,7 @@ import org.jeecg.modules.medical.common.bo.before.AuditAdvanceWarningAuditDetail
|
|
|
import org.jeecg.modules.medical.common.bo.mid.AuditMidDetailListResponse;
|
|
|
import org.jeecg.modules.medical.common.bo.mid.request.AuditMidDetailListRequest;
|
|
|
import org.jeecg.modules.medical.common.bo.mid.response.MidAuditDetailResponse;
|
|
|
+import org.jeecg.modules.medical.common.bo.mid.response.MidDeptAuditDetailResponse;
|
|
|
import org.jeecg.modules.medical.service.IViolationAnalysisService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
@@ -65,6 +67,18 @@ public class ViolationAnalysisController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ @ApiOperation(value="违规分析-科室事中审查-列表", notes="违规分析-科室事中审查-列表")
|
|
|
+ @GetMapping(value = "/mid/dept/list")
|
|
|
+ public Result<IPage<MidDeptAuditDetailResponse>> midDeptAuditList(@RequestParam("deptName") String deptName,
|
|
|
+ @RequestParam("startTime") String startTime,
|
|
|
+ @RequestParam("endTime") String endTime,
|
|
|
+ @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
|
|
+ @RequestParam(name="pageSize", defaultValue="10") Integer pageSize) {
|
|
|
+ IPage<AuditAdvanceWarningAuditDetailResponse> page = new Page<>(pageNo, pageSize);
|
|
|
+ IPage<MidDeptAuditDetailResponse> resultPage = violationAnalysisService.midDeptAuditList(page, deptName, startTime, endTime);
|
|
|
+ return Result.OK(resultPage);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
|