|
@ -885,7 +885,7 @@ public class EsStatisticsController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获取咨询数和未回复数
|
|
|
* 获取咨询数和未回复数(决定用旧版的service)
|
|
|
*
|
|
|
* @param startDate
|
|
|
* @param endDate
|
|
@ -898,7 +898,7 @@ public class EsStatisticsController extends BaseController {
|
|
|
@RequestParam(required = true) String endDate,
|
|
|
@RequestParam(required = true) String isNow) {
|
|
|
try {
|
|
|
return write(200, "查询成功", "data", statisticsESService.getReyStatbyTeamNow(getUID(), startDate, endDate, isNow));
|
|
|
return write(200, "查询成功", "data", statisticsService.getReyStatbyTeamNow(getUID(), startDate, endDate, isNow));
|
|
|
//return write(200, "查询成功", "data", statisticsESService.getReyStatbyTeamNow("xh1D2017031502222",startDate,endDate,isNow));
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
@ -918,8 +918,8 @@ public class EsStatisticsController extends BaseController {
|
|
|
public String getServiceRankingList(@RequestParam(required = true) String startDate,
|
|
|
@RequestParam(required = true) String endDate) {
|
|
|
try {
|
|
|
return write(200, "查询成功", "data", statisticsService.getServiceRankingList(getUID(), startDate, endDate));
|
|
|
//return write(200, "查询成功", "data", statisticsService.getServiceRankingList("xh1D201703150222",startDate,endDate));
|
|
|
//return write(200, "查询成功", "data", statisticsService.getServiceRankingList(getUID(), startDate, endDate));
|
|
|
return write(200, "查询成功", "data", statisticsService.getServiceRankingList("xh1D2017031502222",startDate,endDate));
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, "查询失败");
|
|
@ -966,7 +966,7 @@ public class EsStatisticsController extends BaseController {
|
|
|
|
|
|
/**
|
|
|
* 获取团队月或周咨询未回复和总数折线图
|
|
|
*
|
|
|
* 备注:决定用旧版的service(17-11-22)
|
|
|
* @param teamCode 团队id
|
|
|
* @param startDate
|
|
|
* @param endDate
|
|
@ -980,7 +980,7 @@ public class EsStatisticsController extends BaseController {
|
|
|
@RequestParam(required = true) String endDate,
|
|
|
@RequestParam(required = true) String type) {
|
|
|
try {
|
|
|
return write(200, "查询成功", "data", statisticsESService.getTeamConsultCount(teamCode, startDate, endDate, type));
|
|
|
return write(200, "查询成功", "data", statisticsService.getTeamConsultCount(teamCode, startDate, endDate, type));
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, "查询失败");
|