Browse Source

终末运行接口分离

chengyao 3 năm trước cách đây
mục cha
commit
e72cdfa489

+ 72 - 0
report-service/src/main/java/com/lantone/report/web/EntryCaseManagementController.java

@@ -52,6 +52,18 @@ public class EntryCaseManagementController {
         return CommonResult.success(entryCaseManagementFacade.entryCountGroupByEntry(filterVO));
     }
 
+    /**
+     * 条目缺陷占比-控制台-运行质控
+     *
+     * @param filterVO
+     * @return
+     */
+    @ApiOperation(value = "条目缺陷占比-控制台-运行质控[by:zhaops]")
+    @PostMapping("/run/entryCountGroupByEntry")
+    public CommonResult<Map<String, Object>> runEntryCountGroupByEntry(@RequestBody @Valid FilterVO filterVO) {
+        return CommonResult.success(entryCaseManagementFacade.entryCountGroupByEntry(filterVO));
+    }
+
     /**
      * 条目缺陷占比-报表
      *
@@ -64,6 +76,18 @@ public class EntryCaseManagementController {
         return CommonResult.success(entryCaseManagementFacade.entryGroupByEntryInnerPage(filterPageVO));
     }
 
+    /**
+     * 条目缺陷占比-报表-运行质控
+     *
+     * @param filterPageVO
+     * @return
+     */
+    @ApiOperation(value = "条目缺陷占比-报表-运行质控[by:zhaops]")
+    @PostMapping("/run/entryGroupByEntryInnerPage")
+    public CommonResult<IPage<EntryNumDTO>> runEntryGroupByEntryInnerPage(@RequestBody @Valid FilterPageVO filterPageVO) {
+        return CommonResult.success(entryCaseManagementFacade.entryGroupByEntryInnerPage(filterPageVO));
+    }
+
     /**
      * 条目缺陷占比-报表导出
      *
@@ -76,6 +100,18 @@ public class EntryCaseManagementController {
         entryCaseManagementFacade.entryGroupByEntryExport(response, filterPageVO);
     }
 
+    /**
+     * 条目缺陷占比-报表导出-运行质控
+     *
+     * @param filterPageVO
+     * @return
+     */
+    @ApiOperation(value = "条目缺陷占比-报表导出-运行质控[by:gaodm]")
+    @PostMapping("/run/entryGroupByEntryExport")
+    public void runEntryGroupByEntryExport(HttpServletResponse response, @RequestBody @Valid FilterPageVO filterPageVO) {
+        entryCaseManagementFacade.entryGroupByEntryExport(response, filterPageVO);
+    }
+
     /**
      * 单项否决缺陷占比-控制台
      *
@@ -88,6 +124,18 @@ public class EntryCaseManagementController {
         return CommonResult.success(entryCaseManagementFacade.entryRejectPercent(filterVO));
     }
 
+    /**
+     * 单项否决缺陷占比-控制台-运行质控
+     *
+     * @param filterVO
+     * @return
+     */
+    @ApiOperation(value = "单项否决缺陷占比-控制台-运行质控[by:zhaops]")
+    @PostMapping("/run/entryRejectPercent")
+    public CommonResult<List<EntryNumDTO>> runEntryRejectPercent(@RequestBody @Valid FilterVO filterVO) {
+        return CommonResult.success(entryCaseManagementFacade.entryRejectPercent(filterVO));
+    }
+
     /**
      * 入院记录24h内未完成
      *
@@ -112,6 +160,18 @@ public class EntryCaseManagementController {
         return CommonResult.success(entryCaseManagementFacade.entryStatistics(entryStatisticsVO));
     }
 
+    /**
+     * 关键条目缺陷占比-报表-运行质控
+     *
+     * @param entryStatisticsVO
+     * @return
+     */
+    @ApiOperation(value = "关键条目缺陷占比-报表-运行质控[by:zhaops]")
+    @PostMapping("/run/entryStatistics")
+    public CommonResult<List<EntryStatisticsDTO>> runEntryStatistics(@RequestBody @Valid EntryStatisticsVO entryStatisticsVO) {
+        return CommonResult.success(entryCaseManagementFacade.entryStatistics(entryStatisticsVO));
+    }
+
     /**
      * 关键条目缺陷占比-报表导出
      *
@@ -123,4 +183,16 @@ public class EntryCaseManagementController {
     public void entryStatisticsExport(HttpServletResponse response, @RequestBody @Valid EntryStatisticsVO entryStatisticsVO) {
         entryCaseManagementFacade.entryStatisticsExport(response, entryStatisticsVO);
     }
+
+    /**
+     * 关键条目缺陷占比-报表导出-运行质控
+     *
+     * @param entryStatisticsVO
+     * @return
+     */
+    @ApiOperation(value = "关键条目缺陷占比-报表导出-运行质控[by:gaodm]")
+    @PostMapping("/run/entryStatisticsExport")
+    public void runEntryStatisticsExport(HttpServletResponse response, @RequestBody @Valid EntryStatisticsVO entryStatisticsVO) {
+        entryCaseManagementFacade.entryStatisticsExport(response, entryStatisticsVO);
+    }
 }

+ 26 - 2
report-service/src/main/java/com/lantone/report/web/LeaveBeHospitalManagementController.java

@@ -75,14 +75,38 @@ public class LeaveBeHospitalManagementController {
     }
 
     /**
-     * 入院人数统计-控制台
+     * 入院人数统计-控制台-运行质控
      *
      * @param filterVO
      * @return
      */
-    @ApiOperation(value = "入院人数统计-控制台[by:zhaops]")
+    @ApiOperation(value = "入院人数统计-控制台-运行质控[by:zhaops]")
     @PostMapping("/beHosCount")
     public CommonResult<List<NumDTO>> beHosCount(@RequestBody @Valid FilterVO filterVO) {
         return CommonResult.success(leaveHospitalManagementFacade.beHosCount(filterVO));
     }
+
+    /**
+     * 入院人数统计-报表-运行质控
+     *
+     * @param qcResultShortPageVO
+     * @return
+     */
+    @ApiOperation(value = "出院人数统计-报表-运行质控[by:zhaops]")
+    @PostMapping("/run/leaveHosMRPage")
+    public CommonResult<IPage<QcResultShortDTO>> runLeaveHosMRPage(@RequestBody @Valid QcResultShortPageVO qcResultShortPageVO) {
+        return CommonResult.success(leaveHospitalManagementFacade.leaveHosMRPage(qcResultShortPageVO));
+    }
+
+    /**
+     * 出院人数统计-报表导出-运行质控
+     *
+     * @param qcResultShortPageVO
+     * @return
+     */
+    @ApiOperation(value = "出院人数统计-报表导出-运行质控[by:zhaops]")
+    @PostMapping("/run/leaveHosMrPageExport")
+    public void runLeaveHosMrPageExport(HttpServletResponse response, @RequestBody @Valid QcResultShortPageVO qcResultShortPageVO) {
+        leaveHospitalManagementFacade.leaveHosMrPageExportMethod(response, qcResultShortPageVO);
+    }
 }

+ 25 - 1
report-service/src/main/java/com/lantone/report/web/MedicalCheckManagementController.java

@@ -43,7 +43,19 @@ public class MedicalCheckManagementController {
      */
     @ApiOperation(value = "病历稽查统计[by:cy]")
     @PostMapping("/medicalCheckForm")
-    public CommonResult<IPage<MedicalCheckDTO>> getMedicalCheck(@RequestBody @Valid FilterMedicalCheckVO filterVO) {
+    public CommonResult<IPage<MedicalCheckDTO>> medicalCheckForm(@RequestBody @Valid FilterMedicalCheckVO filterVO) {
+        return CommonResult.success((medicalCheckManagementFacade.getMedicalCheck(filterVO)));
+    }
+
+    /**
+     * 病历稽查表-报表-运行质控
+     *
+     * @param filterVO
+     * @return
+     */
+    @ApiOperation(value = "病历稽查统计-运行质控[by:cy]")
+    @PostMapping("/run/medicalCheckForm")
+    public CommonResult<IPage<MedicalCheckDTO>> runMedicalCheckForm(@RequestBody @Valid FilterMedicalCheckVO filterVO) {
         return CommonResult.success((medicalCheckManagementFacade.getMedicalCheck(filterVO)));
     }
 
@@ -58,4 +70,16 @@ public class MedicalCheckManagementController {
     public void medicalCheckExport(HttpServletResponse response, @RequestBody @Valid FilterMedicalCheckVO filterVO) {
         medicalCheckManagementFacade.medicalCheckExport(response, filterVO);
     }
+
+    /**
+     * 病历稽查表-报表导出-运行质控
+     *
+     * @param filterVO
+     * @return
+     */
+    @ApiOperation(value = "病历稽查表-报表导出-运行质控[by:cy]")
+    @PostMapping("/run/medicalCheckExport")
+    public void runMedicalCheckExport(HttpServletResponse response, @RequestBody @Valid FilterMedicalCheckVO filterVO) {
+        medicalCheckManagementFacade.medicalCheckExport(response, filterVO);
+    }
 }

+ 36 - 0
report-service/src/main/java/com/lantone/report/web/ModuleCaseManagementController.java

@@ -48,6 +48,18 @@ public class ModuleCaseManagementController {
         return CommonResult.success(moduleCaseManagementFacade.entryCountGroupByCase(filterVO));
     }
 
+    /**
+     * 各模块缺陷占比排行-控制台-运行质控
+     *
+     * @param filterVO
+     * @return
+     */
+    @ApiOperation(value = "各模块缺陷占比排行-控制台-运行质控[by:zhaops]")
+    @PostMapping("/run/entryCountGroupByCase")
+    public CommonResult<Map<String, Object>> runEntryCountGroupByCase(@RequestBody @Valid FilterVO filterVO) {
+        return CommonResult.success(moduleCaseManagementFacade.entryCountGroupByCase(filterVO));
+    }
+
     /**
      * 各模块缺陷占比排行-报表
      *
@@ -60,6 +72,18 @@ public class ModuleCaseManagementController {
         return CommonResult.success(moduleCaseManagementFacade.entryCountGroupByCasePage(filterPageVO));
     }
 
+    /**
+     * 各模块缺陷占比排行-报表-运行质控
+     *
+     * @param filterPageVO
+     * @return
+     */
+    @ApiOperation(value = "各模块缺陷占比排行-报表-运行质控[by:zhaops]")
+    @PostMapping("/run/entryCountGroupByCasePage")
+    public CommonResult<IPage<NumDTO>> runEntryCountGroupByCasePage(@RequestBody @Valid FilterPageVO filterPageVO) {
+        return CommonResult.success(moduleCaseManagementFacade.entryCountGroupByCasePage(filterPageVO));
+    }
+
     /**
      * 各模块缺陷占比排行-报表导出
      *
@@ -71,4 +95,16 @@ public class ModuleCaseManagementController {
     public void entryCountGroupByCaseExport(HttpServletResponse response, @RequestBody @Valid FilterPageVO filterPageVO) {
         moduleCaseManagementFacade.entryCountGroupByCaseExport(response, filterPageVO);
     }
+
+    /**
+     * 各模块缺陷占比排行-报表导出-运行质控
+     *
+     * @param filterPageVO
+     * @return
+     */
+    @ApiOperation(value = "各模块缺陷占比排行-报表导出-运行质控[by:gaodm]")
+    @PostMapping("/run/entryCountGroupByCaseExport")
+    public void runEntryCountGroupByCaseExport(HttpServletResponse response, @RequestBody @Valid FilterPageVO filterPageVO) {
+        moduleCaseManagementFacade.entryCountGroupByCaseExport(response, filterPageVO);
+    }
 }

+ 100 - 4
report-service/src/main/java/com/lantone/report/web/MrScoreManagementController.java

@@ -41,29 +41,53 @@ public class MrScoreManagementController {
     private MrScoreManagementFacade mrScoreManagementFacade;
 
     /**
-     * 质控病历统计
+     * 病历评分等级占比-控制台
      *
      * @param filterVO
      * @return
      */
-    @ApiOperation(value = "质控病历统计-控制台[by:zhaops]")
+    @ApiOperation(value = "病历评分等级占比-控制台[by:zhaops]")
     @PostMapping("/mrCount")
     public CommonResult<Map<String, Object>> mrCount(@RequestBody @Valid FilterVO filterVO) {
         return CommonResult.success(mrScoreManagementFacade.mrCount(filterVO));
     }
 
     /**
-     * 各科室病历等级占比
+     * 病历评分等级占比-控制台-运行质控
      *
      * @param filterVO
      * @return
      */
-    @ApiOperation(value = "各科室甲/乙/丙级病历占比-控制台[by:zhaops]")
+    @ApiOperation(value = "病历评分等级占比-控制台-运行质控[by:zhaops]")
+    @PostMapping("/run/mrCount")
+    public CommonResult<Map<String, Object>> runMrCount(@RequestBody @Valid FilterVO filterVO) {
+        return CommonResult.success(mrScoreManagementFacade.mrCount(filterVO));
+    }
+
+    /**
+     * 各科室病历等级占比-控制台
+     *
+     * @param filterVO
+     * @return
+     */
+    @ApiOperation(value = "各科室病历等级占比-控制台[by:zhaops]")
     @PostMapping("/qcResultLevelPercent")
     public CommonResult<List<DeptNumDTO>> qcResultLevelPercent(@RequestBody @Valid FilterVO filterVO) {
         return CommonResult.success(mrScoreManagementFacade.qcResultLevelPercent(filterVO));
     }
 
+    /**
+     * 各科室病历等级占比-控制台-运行质控
+     *
+     * @param filterVO
+     * @return
+     */
+    @ApiOperation(value = "各科室病历等级占比-控制台-运行质控[by:zhaops]")
+    @PostMapping("/run/qcResultLevelPercent")
+    public CommonResult<List<DeptNumDTO>> runQcResultLevelPercent(@RequestBody @Valid FilterVO filterVO) {
+        return CommonResult.success(mrScoreManagementFacade.qcResultLevelPercent(filterVO));
+    }
+
     /**
      * 各科室缺陷占比-报表
      *
@@ -76,6 +100,18 @@ public class MrScoreManagementController {
         return CommonResult.success(mrScoreManagementFacade.levelStatistics(filterOrderVO));
     }
 
+    /**
+     * 各科室缺陷占比-报表-运行质控
+     *
+     * @param filterOrderVO
+     * @return
+     */
+    @ApiOperation(value = "各科室缺陷占比-报表-运行质控[by:zhaops]")
+    @PostMapping("/run/levelStatistics")
+    public CommonResult<List<LevelStatisticsDTO>> runLevelStatistics(@RequestBody @Valid FilterOrderVO filterOrderVO) {
+        return CommonResult.success(mrScoreManagementFacade.levelStatistics(filterOrderVO));
+    }
+
     /**
      * 各科室缺陷占比-报表导出
      *
@@ -88,6 +124,18 @@ public class MrScoreManagementController {
         mrScoreManagementFacade.levelExport(response, filterOrderVO);
     }
 
+    /**
+     * 各科室缺陷占比-报表导出-运行质控
+     *
+     * @param filterOrderVO
+     * @return
+     */
+    @ApiOperation(value = "各科室缺陷占比-报表导出-运行质控[by:gaodm]")
+    @PostMapping("/run/levelExport")
+    public void runLevelExport(HttpServletResponse response, @RequestBody @Valid FilterOrderVO filterOrderVO) {
+        mrScoreManagementFacade.levelExport(response, filterOrderVO);
+    }
+
 
     /**
      * 各科室缺陷占比(台州)-报表
@@ -101,6 +149,18 @@ public class MrScoreManagementController {
         return CommonResult.success(mrScoreManagementFacade.levelStatisticsByDeptClass_TZ(filterOrderVO));
     }
 
+    /**
+     * 各科室缺陷占比(台州)-报表-运行质控
+     *
+     * @param filterOrderVO
+     * @return
+     */
+    @ApiOperation(value = "各科室缺陷占比(台州)-报表-运行质控[by:zhaops]")
+    @PostMapping("/run/levelStatisticsByDeptClass")
+    public CommonResult<List<LevelStatisticsTZDTO>> runLevelStatisticsByDeptClass(@RequestBody @Valid FilterOrderVO filterOrderVO) {
+        return CommonResult.success(mrScoreManagementFacade.levelStatisticsByDeptClass_TZ(filterOrderVO));
+    }
+
     /**
      * 各科室缺陷占比(台州)-报表导出
      *
@@ -113,6 +173,18 @@ public class MrScoreManagementController {
         mrScoreManagementFacade.levelExport_TZ(response, filterOrderVO);
     }
 
+    /**
+     * 各科室缺陷占比(台州)-报表导出-运行质控
+     *
+     * @param filterOrderVO
+     * @return
+     */
+    @ApiOperation(value = "各科室缺陷占比(台州)-报表导出-运行质控[by:gaodm]")
+    @PostMapping("/run/levelExport_TZ")
+    public void runLevelExport_TZ(HttpServletResponse response, @RequestBody @Valid FilterOrderVO filterOrderVO) {
+        mrScoreManagementFacade.levelExport_TZ(response, filterOrderVO);
+    }
+
     /**
      * 各科室质控平均分柱状图-控制台
      *
@@ -125,6 +197,18 @@ public class MrScoreManagementController {
         return CommonResult.success(mrScoreManagementFacade.getAverageScore(filterVO));
     }
 
+    /**
+     * 各科室质控平均分柱状图-控制台-运行质控
+     *
+     * @param filterVO
+     * @return
+     */
+    @ApiOperation(value = "各科室质控平均分柱状图-控制台-运行质控[by:zhaops]")
+    @PostMapping("/run/getAverageScore")
+    public CommonResult<Map<String, Object>> runGetAverageScore(@RequestBody @Valid FilterVO filterVO) {
+        return CommonResult.success(mrScoreManagementFacade.getAverageScore(filterVO));
+    }
+
     /**
      * 各科室质控平均分柱状图(台州)-控制台
      *
@@ -136,4 +220,16 @@ public class MrScoreManagementController {
     public CommonResult<List<AverageStatisticsDTO>> getAverageScoreByDeptClass(@RequestBody @Valid FilterVO filterVO) {
         return CommonResult.success(mrScoreManagementFacade.getAverageScoreByDeptClass(filterVO));
     }
+
+    /**
+     * 各科室质控平均分柱状图(台州)-控制台-运行质控
+     *
+     * @param filterVO
+     * @return
+     */
+    @ApiOperation(value = "各科室质控平均分柱状图(台州)-控制台-运行质控[by:zhaops]")
+    @PostMapping("/run/getAverageScoreByDeptClass")
+    public CommonResult<List<AverageStatisticsDTO>> runGetAverageScoreByDeptClass(@RequestBody @Valid FilterVO filterVO) {
+        return CommonResult.success(mrScoreManagementFacade.getAverageScoreByDeptClass(filterVO));
+    }
 }

+ 25 - 1
report-service/src/main/java/com/lantone/report/web/ReHos31DaysManagementController.java

@@ -40,12 +40,24 @@ public class ReHos31DaysManagementController {
      * @param reBeHosPageVO
      * @return
      */
-    @ApiOperation(value = "31天再入院人数(内页)[by:zhaops]")
+    @ApiOperation(value = "31日再入院病人数统计-报表[by:zhaops]")
     @PostMapping("/reHos31DaysPage")
     public CommonResult<IPage<ReBeHosDTO>> reHos31DaysPage(@RequestBody @Valid ReBeHosPageVO reBeHosPageVO) {
         return CommonResult.success(reHos31DaysManagementFacade.reHos31DaysPage(reBeHosPageVO));
     }
 
+    /**
+     * 31日再入院病人数统计-报表-运行质控
+     *
+     * @param reBeHosPageVO
+     * @return
+     */
+    @ApiOperation(value = "31日再入院病人数统计-报表-运行质控[by:zhaops]")
+    @PostMapping("/run/reHos31DaysPage")
+    public CommonResult<IPage<ReBeHosDTO>> runReHos31DaysPage(@RequestBody @Valid ReBeHosPageVO reBeHosPageVO) {
+        return CommonResult.success(reHos31DaysManagementFacade.reHos31DaysPage(reBeHosPageVO));
+    }
+
     /**
      * 31日再入院病人数统计-报表导出
      *
@@ -57,4 +69,16 @@ public class ReHos31DaysManagementController {
     public void reHos31DaysPageExport(HttpServletResponse response, @RequestBody @Valid ReBeHosPageVO reBeHosPageVO) {
         reHos31DaysManagementFacade.reHos31DaysPageExport(response, reBeHosPageVO);
     }
+
+    /**
+     * 31日再入院病人数统计-报表导出-运行质控
+     *
+     * @param reBeHosPageVO
+     * @return
+     */
+    @ApiOperation(value = "31日再入院病人数统计-报表导出-运行质控[by:zhaops]")
+    @PostMapping("/run/reHos31DaysPageExport")
+    public void runReHos31DaysPageExport(HttpServletResponse response, @RequestBody @Valid ReBeHosPageVO reBeHosPageVO) {
+        reHos31DaysManagementFacade.reHos31DaysPageExport(response, reBeHosPageVO);
+    }
 }

+ 25 - 1
report-service/src/main/java/com/lantone/report/web/TimelinessManagementController.java

@@ -39,12 +39,24 @@ public class TimelinessManagementController {
      * @param filterUnModifyMRVO
      * @return
      */
-    @ApiOperation(value = "未整改病历统计[by:zhaops]")
+    @ApiOperation(value = "时效性相关统计[by:zhaops]")
     @PostMapping("/unModifyMRStatistics")
     public CommonResult<UnModifyMRDTO> unModifyMRStatistics(@RequestBody @Valid FilterUnModifyMRVO filterUnModifyMRVO) {
         return CommonResult.success(timelinessManagementFacade.unModifyMRStatistics(filterUnModifyMRVO));
     }
 
+    /**
+     * 时效性相关统计-报表-运行质控
+     *
+     * @param filterUnModifyMRVO
+     * @return
+     */
+    @ApiOperation(value = "时效性相关统计-运行质控[by:zhaops]")
+    @PostMapping("/run/unModifyMRStatistics")
+    public CommonResult<UnModifyMRDTO> runUnModifyMRStatistics(@RequestBody @Valid FilterUnModifyMRVO filterUnModifyMRVO) {
+        return CommonResult.success(timelinessManagementFacade.unModifyMRStatistics(filterUnModifyMRVO));
+    }
+
     /**
      * 时效性相关统计-报表导出
      *
@@ -56,4 +68,16 @@ public class TimelinessManagementController {
     public void unModifyMRStatisticsExport(HttpServletResponse response, @RequestBody @Valid FilterUnModifyMRVO filterUnModifyMRVO) {
         timelinessManagementFacade.unModifyMRStatisticsExport(response, filterUnModifyMRVO);
     }
+
+    /**
+     * 时效性相关统计-报表导出-运行质控
+     *
+     * @param filterUnModifyMRVO
+     * @return
+     */
+    @ApiOperation(value = "时效性相关统计-报表导出-运行质控[by:zhaops]")
+    @PostMapping("/run/unModifyMRStatisticsExport")
+    public void runUnModifyMRStatisticsExport(HttpServletResponse response, @RequestBody @Valid FilterUnModifyMRVO filterUnModifyMRVO) {
+        timelinessManagementFacade.unModifyMRStatisticsExport(response, filterUnModifyMRVO);
+    }
 }