Merge branch 'version_performance_2.0' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management into version_performance_2.0

This commit is contained in:
wulin 2020-10-22 09:45:26 +08:00
commit 96c18e66e0
3 changed files with 5 additions and 4 deletions

View File

@ -17,7 +17,7 @@ public class ChartStatisticalRes {
@ApiModelProperty(value = "类型 0节点统计 1等级统计 2:人数统计 ",name = "type")
private int type;
private List<ChartStatistical> data;
private List<ChartStatistical> statisticals;
}

View File

@ -50,20 +50,20 @@ public class ChartResultServiceImpl implements ChartResultService {
List<ChartStatistical> process = resultRecordService.countNumByFlowProcess(query);
res = new ChartStatisticalRes();
res.setType(0);
res.setData(process);
res.setStatisticals(process);
data.add(res);
List<ChartStatistical> scoreLevel = resultRecordService.countNumByScoreLevel(query);
res = new ChartStatisticalRes();
res.setType(1);
res.setData(scoreLevel);
res.setStatisticals(scoreLevel);
data.add(res);
List<String> strings = evaluationGroupService.selectAllStaffIdsByGroupId(3L);
List<ChartStatistical> depstaff = this.countDepartmentAndStaffNum(strings);
res = new ChartStatisticalRes();
res.setType(2);
res.setData(depstaff);
res.setStatisticals(depstaff);
data.add(res);
return data;

View File

@ -28,6 +28,7 @@ spring:
wall:
config:
multi-statement-allow: true
none-base-statement-allow: true
console:
env: dev
dingtalk: