|
@ -96,8 +96,6 @@ public class EsStatisticsEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(required = true) String index,
|
|
|
@RequestParam(required = false)int interval,
|
|
|
@RequestParam(required = false) String level2_type) {
|
|
|
//新版与旧版统计适配
|
|
|
level = elasticsearchUtil.changeLevel(level);
|
|
|
JSONObject result = new JSONObject();
|
|
|
try {
|
|
|
result= statisticsEsService.getPrescriptionLine(startDate, endDate, area, level, index, interval,level2_type);
|
|
@ -118,8 +116,6 @@ public class EsStatisticsEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(required = true) int level,
|
|
|
@RequestParam(required = true) String index,
|
|
|
@RequestParam(required = false) String level2_type) {
|
|
|
//新版与旧版统计适配
|
|
|
level = elasticsearchUtil.changeLevel(level);
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|
|
|
try {
|
|
@ -141,8 +137,6 @@ public class EsStatisticsEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(required = true) int level,
|
|
|
@RequestParam(required = true) String index,
|
|
|
@RequestParam(required = false) String level2_type) {
|
|
|
//新版与旧版统计适配
|
|
|
level = elasticsearchUtil.changeLevel(level);
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|
|
|
try {
|
|
@ -173,8 +167,6 @@ public class EsStatisticsEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(required = true) int level,
|
|
|
@RequestParam(required = true) String index,
|
|
|
@RequestParam(required = false) String level2_type) {
|
|
|
//新版与旧版统计适配
|
|
|
level = elasticsearchUtil.changeLevel(level);
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|
|
|
try {
|
|
@ -206,8 +198,6 @@ public class EsStatisticsEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(required = true) int level,
|
|
|
@RequestParam(required = true) String index,
|
|
|
@RequestParam(required = false) String level2_type) {
|
|
|
//新版与旧版统计适配
|
|
|
level = elasticsearchUtil.changeLevel(level);
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|
|
|
try {
|
|
@ -228,7 +218,6 @@ public class EsStatisticsEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(required = true) String index,
|
|
|
@RequestParam(required = false) String level2_type,
|
|
|
@RequestParam(required = true) Integer flag) {
|
|
|
//新版与旧版统计适配
|
|
|
JSONObject result = new JSONObject();
|
|
|
try {
|
|
|
result= statisticsEsService.getDoctorStatistics(startDate,endDate,area,level,index,level2_type,flag);
|
|
@ -248,7 +237,6 @@ public class EsStatisticsEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(required = true) String index,
|
|
|
@RequestParam(required = false) String level2_type,
|
|
|
@RequestParam(required = true) Integer flag) {
|
|
|
//新版与旧版统计适配
|
|
|
JSONObject result = new JSONObject();
|
|
|
try {
|
|
|
result= statisticsEsService.getDoctorTotal(startDate,endDate,area,level,index,level2_type,flag);
|
|
@ -267,7 +255,6 @@ public class EsStatisticsEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(required = true) String index,
|
|
|
@RequestParam(required = false) String level2_type,
|
|
|
@RequestParam(required = true) Integer flag) {
|
|
|
//新版与旧版统计适配
|
|
|
JSONObject result = new JSONObject();
|
|
|
try {
|
|
|
result= statisticsEsService.getDoctorStatisticsExcel(startDate,endDate,area,level,index,level2_type,flag);
|
|
@ -294,7 +281,6 @@ public class EsStatisticsEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(required = true) String area,
|
|
|
@RequestParam(required = true) int level,
|
|
|
@RequestParam(required = true) String index) {
|
|
|
//新版与旧版统计适配
|
|
|
JSONObject result = new JSONObject();
|
|
|
try {
|
|
|
result = statisticsEsService.getSpecialConsultHead(startDate, endDate, area, level, index);
|