|
@@ -8,12 +8,14 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.jeecg.common.api.vo.Result;
|
|
|
+import org.jeecg.common.exception.JeecgBootException;
|
|
|
import org.jeecg.common.system.query.QueryGenerator;
|
|
|
import org.jeecg.modules.medical.common.bo.*;
|
|
|
import org.jeecg.modules.medical.common.bo.after.response.AfterDeptDetailRequest;
|
|
|
import org.jeecg.modules.medical.common.bo.before.AuditAdvanceWarningAuditDetailResponse;
|
|
|
import org.jeecg.modules.medical.common.bo.mid.AuditMidDetailListResponse;
|
|
|
import org.jeecg.modules.medical.common.bo.mid.MidDeptAuditListPageRequest;
|
|
|
+import org.jeecg.modules.medical.common.bo.mid.ViolateRuleChildExportResponse;
|
|
|
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.MidAuditViolateProjectStatisticsResponse;
|
|
@@ -414,6 +416,16 @@ public class ViolationAnalysisController {
|
|
|
return ok;
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value="事后-科室稽核统计-明细详情-导出", notes="科室稽核统计-明细详情-导出")
|
|
|
+ @RequestMapping(value = "/after/group/department/exportXls")
|
|
|
+ public ModelAndView afterDepartmentDetailExportXls(HttpServletRequest req, AfterDeptDetailRequest deptDetailRequest) {
|
|
|
+ try {
|
|
|
+ return afterwardsAuditService.afterDepartmentDetailExportXls(req, deptDetailRequest, ViolateDeptChildDetailExportResponse.class, "事后-科室稽核统计-明细详情");
|
|
|
+ } catch (UnsupportedEncodingException e) {
|
|
|
+ throw new RuntimeException(e);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
@ApiOperation(value="违规分析-事后违规项目统计-列表", notes="违规分析-事后违规项目统计")
|
|
|
@GetMapping(value = "/after/project/list")
|
|
@@ -444,7 +456,7 @@ public class ViolationAnalysisController {
|
|
|
|
|
|
@ApiOperation(value = "事后-事后违规项目统计-列表-子列表",notes = "事后-事后违规项目统计-列表-子列表")
|
|
|
@GetMapping(value = "/after/project/child/list")
|
|
|
- public Result<IPage<ReportAfterQueryDetailResponseBO>> afterDepartmentDetail(String medicalProjectCode,
|
|
|
+ public Result<IPage<ReportAfterQueryDetailResponseBO>> afterProjectChildList(String medicalProjectCode,
|
|
|
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
|
|
HttpServletRequest req) {
|
|
@@ -460,6 +472,18 @@ public class ViolationAnalysisController {
|
|
|
return ok;
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value="事后-违规项目统计-明细详情-导出", notes="事后-违规项目统计-明细详情")
|
|
|
+ @RequestMapping(value = "/after/project/child/exportXls")
|
|
|
+ public ModelAndView afterProjectChildExportXls(HttpServletRequest req, String medicalProjectCode) {
|
|
|
+ try {
|
|
|
+ AfterDeptDetailRequest deptDetailRequest = new AfterDeptDetailRequest();
|
|
|
+ deptDetailRequest.setMedicalProjectSearch(medicalProjectCode);
|
|
|
+ return afterwardsAuditService.afterProjectChildExportXls(req, deptDetailRequest, ViolateProjectChildDetailExportResponse.class, "事后-违规项目统计-明细详情");
|
|
|
+ } catch (UnsupportedEncodingException e) {
|
|
|
+ throw new RuntimeException(e);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
@ApiOperation(value="违规分析-事后规则类型统计-列表", notes="违规分析-事后规则类型统计-列表")
|
|
|
@GetMapping(value = "/after/rule/list")
|
|
@@ -511,6 +535,27 @@ public class ViolationAnalysisController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+
|
|
|
+ @ApiOperation(value="事后-规则类型统计-明细详情-导出", notes="事后-规则类型统计-明细详情")
|
|
|
+ @RequestMapping(value = "/after/rule/child/exportXls")
|
|
|
+ public ModelAndView afterRuleChildExportXls(HttpServletRequest req, @RequestParam("medicalInsRuleInfoCode") String medicalInsRuleInfoCode) {
|
|
|
+ try {
|
|
|
+ if (!StringUtils.hasText(medicalInsRuleInfoCode)) {
|
|
|
+ throw new JeecgBootException("违反规则代码不可为空");
|
|
|
+ }
|
|
|
+ AuditMidDetailListRequest request = new AuditMidDetailListRequest();
|
|
|
+ request.setMedicalInsRuleInfoCode(medicalInsRuleInfoCode);
|
|
|
+ AfterDeptDetailRequest afterDeptDetailRequest = new AfterDeptDetailRequest();
|
|
|
+ afterDeptDetailRequest.setMedicalInsRuleInfoCode(medicalInsRuleInfoCode);
|
|
|
+ Map<String, String[]> parameterMap = req.getParameterMap();
|
|
|
+ List<AuditMidDetailListResponse> exportList = violationAnalysisService.loadAfterAuditPageList(request, parameterMap);
|
|
|
+ return exportUtilHelperService.commonExportXml(e -> ViolateRuleChildExportResponse.class, "事后-规则类型统计-明细详情", exportList);
|
|
|
+ } catch (UnsupportedEncodingException e) {
|
|
|
+ throw new RuntimeException(e);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@ApiOperation(value = "违规分析-医院结算明细")
|
|
|
@GetMapping(value = "/audit/settlement/detail")
|
|
|
public Result<InpatientSettlementDetailResponse> loadInpatientSettlementDetail(HttpServletRequest request,
|