|
|
@ -918,21 +918,21 @@ |
|
|
|
|
|
|
|
<select id="selectListJobEvaluation" resultType="com.elink.esua.epdc.dto.KpiMetaDataDTO"> |
|
|
|
SELECT |
|
|
|
<if test="evaluationLevel=='0"> |
|
|
|
'网格评议不满意数' as data_name, |
|
|
|
'grid_low_evaluation_amount' as data_code, |
|
|
|
<if test="evaluationLevel=='0'"> |
|
|
|
'网格评议不满意数' as dataName, |
|
|
|
'grid_low_evaluation_amount' as dataCode, |
|
|
|
</if> |
|
|
|
<if test="evaluationLevel=='1"> |
|
|
|
'网格评议基本满意数' as data_name, |
|
|
|
'grid_medium_evaluation_amount' as data_code, |
|
|
|
<if test="evaluationLevel=='1'"> |
|
|
|
'网格评议基本满意数' as dataName, |
|
|
|
'grid_medium_evaluation_amount' as dataCode, |
|
|
|
</if> |
|
|
|
<if test="evaluationLevel=='2"> |
|
|
|
<if test="evaluationLevel=='2'"> |
|
|
|
'网格评议满意数' as data_name, |
|
|
|
'grid_high_evaluation_amount' as data_code, |
|
|
|
'grid_high_evaluation_amount' as dataCode, |
|
|
|
</if> |
|
|
|
COUNT(ed.ID), |
|
|
|
#{startTime} as startDate, |
|
|
|
DATE(DATE_SUB(#{endTime}, INTERVAL 1 DAY)) as endDate, |
|
|
|
COUNT(ed.ID) as dataValue, |
|
|
|
#{startDate} as startDate, |
|
|
|
#{endDate} as endDate |
|
|
|
FROM |
|
|
|
<foreach item="deptId" collection="deptIdList" open="( " separator="UNION ALL" close=") dept"> |
|
|
|
SELECT #{deptId} AS deptId |
|
|
@ -942,5 +942,7 @@ |
|
|
|
AND |
|
|
|
#{evaluationLevel} = ed.EVALUATION_LEVEL |
|
|
|
AND ed.DEL_FLAG = '0' AND ed.CREATED_TIME BETWEEN #{startDate} AND #{endDate} |
|
|
|
GROUP BY |
|
|
|
dept.deptId |
|
|
|
</select> |
|
|
|
</mapper> |
|
|
|