|
@@ -1,12 +1,8 @@
|
|
|
package com.diagbot.web;
|
|
|
|
|
|
import com.diagbot.annotation.SysLogger;
|
|
|
-import com.diagbot.dto.AverageStatisticsDTO;
|
|
|
-import com.diagbot.dto.NumDTO;
|
|
|
-import com.diagbot.dto.QcResultPercentDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.facade.ConsoleFacade;
|
|
|
-import com.diagbot.util.ListUtil;
|
|
|
import com.diagbot.vo.FilterVO;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -17,8 +13,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
import springfox.documentation.annotations.ApiIgnore;
|
|
|
|
|
|
-import java.util.HashMap;
|
|
|
-import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
@@ -68,6 +62,7 @@ public class ConsoleController {
|
|
|
//-----------------------聚合接口结束-------------------------------
|
|
|
|
|
|
//-----------------------单独接口开始-------------------------------
|
|
|
+
|
|
|
/**
|
|
|
* 平均住院天数
|
|
|
*
|
|
@@ -78,7 +73,7 @@ public class ConsoleController {
|
|
|
notes = "type: 统计维度 1-本月,2-本年(必填)<br>")
|
|
|
@PostMapping("/getAverageDayNum")
|
|
|
@SysLogger("getAverageDayNum")
|
|
|
- public RespDTO<Map<String, Object>> getAverageDayNum(FilterVO filterVO) {
|
|
|
+ public RespDTO<Map<String, Object>> getAverageDayNum(@RequestBody FilterVO filterVO) {
|
|
|
return RespDTO.onSuc(consoleFacade.getAverageDayNum(filterVO));
|
|
|
}
|
|
|
|
|
@@ -92,7 +87,7 @@ public class ConsoleController {
|
|
|
notes = "type: 统计维度 1-本月,2-本年(必填)<br>")
|
|
|
@PostMapping("/getAverageFee")
|
|
|
@SysLogger("getAverageFee")
|
|
|
- public RespDTO<Map<String, Object>> getAverageFee(FilterVO filterVO) {
|
|
|
+ public RespDTO<Map<String, Object>> getAverageFee(@RequestBody FilterVO filterVO) {
|
|
|
return RespDTO.onSuc(consoleFacade.getAverageFee(filterVO));
|
|
|
}
|
|
|
|
|
@@ -106,7 +101,7 @@ public class ConsoleController {
|
|
|
notes = "type: 统计维度 1-本月,2-本年(必填)<br>")
|
|
|
@PostMapping("/getAverageScore")
|
|
|
@SysLogger("getAverageScore")
|
|
|
- public RespDTO<Map<String, Object>> getAverageScore(FilterVO filterVO) {
|
|
|
+ public RespDTO<Map<String, Object>> getAverageScore(@RequestBody FilterVO filterVO) {
|
|
|
return RespDTO.onSuc(consoleFacade.getAverageScore(filterVO));
|
|
|
}
|
|
|
|
|
@@ -120,7 +115,7 @@ public class ConsoleController {
|
|
|
notes = "type: 统计维度 1-本月,2-本年(必填)<br>")
|
|
|
@PostMapping("/getLevelResultDept")
|
|
|
@SysLogger("getLevelResultDept")
|
|
|
- public RespDTO<Map<String, Object>> getLevelResultDept(FilterVO filterVO) {
|
|
|
+ public RespDTO<Map<String, Object>> getLevelResultDept(@RequestBody FilterVO filterVO) {
|
|
|
return RespDTO.onSuc(consoleFacade.getLevelResultDept(filterVO));
|
|
|
}
|
|
|
|
|
@@ -134,7 +129,7 @@ public class ConsoleController {
|
|
|
notes = "type: 统计维度 1-本月,2-本年(必填)<br>")
|
|
|
@PostMapping("/leaveHosCount")
|
|
|
@SysLogger("leaveHosCount")
|
|
|
- public RespDTO<Map<String, Object>> leaveHosCount(FilterVO filterVO) {
|
|
|
+ public RespDTO<Map<String, Object>> leaveHosCount(@RequestBody FilterVO filterVO) {
|
|
|
return RespDTO.onSuc(consoleFacade.leaveHosCount(filterVO));
|
|
|
}
|
|
|
|
|
@@ -148,7 +143,7 @@ public class ConsoleController {
|
|
|
notes = "type: 统计维度 1-本月,2-本年(必填)<br>")
|
|
|
@PostMapping("/mrCount")
|
|
|
@SysLogger("mrCount")
|
|
|
- public RespDTO<Map<String, Object>> mrCount(FilterVO filterVO) {
|
|
|
+ public RespDTO<Map<String, Object>> mrCount(@RequestBody FilterVO filterVO) {
|
|
|
return RespDTO.onSuc(consoleFacade.mrCount(filterVO));
|
|
|
}
|
|
|
|
|
@@ -162,7 +157,7 @@ public class ConsoleController {
|
|
|
notes = "type: 统计维度 1-本月,2-本年(必填)<br>")
|
|
|
@PostMapping("/entryCountGroupByCase")
|
|
|
@SysLogger("entryCountGroupByCase")
|
|
|
- public RespDTO<Map<String, Object>> entryCountGroupByCase(FilterVO filterVO) {
|
|
|
+ public RespDTO<Map<String, Object>> entryCountGroupByCase(@RequestBody FilterVO filterVO) {
|
|
|
return RespDTO.onSuc(consoleFacade.entryCountGroupByCase(filterVO));
|
|
|
}
|
|
|
|
|
@@ -176,7 +171,7 @@ public class ConsoleController {
|
|
|
notes = "type: 统计维度 1-本月,2-本年(必填)<br>")
|
|
|
@PostMapping("/entryCountGroupByEntry")
|
|
|
@SysLogger("entryCountGroupByEntry")
|
|
|
- public RespDTO<Map<String, Object>> entryCountGroupByEntry(FilterVO filterVO) {
|
|
|
+ public RespDTO<Map<String, Object>> entryCountGroupByEntry(@RequestBody FilterVO filterVO) {
|
|
|
return RespDTO.onSuc(consoleFacade.entryCountGroupByEntry(filterVO));
|
|
|
}
|
|
|
|
|
@@ -190,7 +185,7 @@ public class ConsoleController {
|
|
|
notes = "type: 统计维度 1-本月,2-本年(必填)<br>")
|
|
|
@PostMapping("/entryByDept")
|
|
|
@SysLogger("entryByDept")
|
|
|
- public RespDTO<Map<String, Object>> entryByDept(FilterVO filterVO) {
|
|
|
+ public RespDTO<Map<String, Object>> entryByDept(@RequestBody FilterVO filterVO) {
|
|
|
return RespDTO.onSuc(consoleFacade.entryByDept(filterVO));
|
|
|
}
|
|
|
//-----------------------单独接口结束-------------------------------
|