This commit is contained in:
杜建超 2020-11-12 17:47:19 +08:00
parent 3d9afe5e4f
commit c5e4c71400
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ public class ChartController extends AbstractController{
@ApiOperation("获取绩效报表统计")
@ApiResponses({@ApiResponse(code = 200,message = "成功",response = ChartStatisticalRes.class)})
public R chartResult(@RequestParam(required = false) @ApiParam(name = "startId",value = "考核周期标识id") Long startId){
List<ChartStatisticalRes> chartStatisticalRes = null;
List<ChartStatisticalRes> chartStatisticalRes;
try {
Long userId = getUserId();
chartStatisticalRes = chartResultService.chartReport(startId,userId);

View File

@ -379,7 +379,7 @@
</select>
<select id="countNumByScoreLevel" resultType="com.lz.modules.performance.res.ChartStatistical">
SELECT count(score_level) num,score_level,case score_level WHEN 0 THEN '无等级' ELSE score_level END as 'desc' from lz_result_record where is_delete=0
SELECT count(1) num,score_level,case score_level WHEN score_level is NULL THEN '无等级' ELSE score_level END as 'desc' from lz_result_record where is_delete=0
and start_id =#{startId}
<if test="evaluationIds !=null and evaluationIds.size()!=0">
and evaluation_id in (