|
|
@ -76,7 +76,7 @@ |
|
|
|
sum(case when point < 0 then point else 0 end) as deductionPoints , |
|
|
|
sum(case when point < 0 then point else 0 end) as deductionPoints , |
|
|
|
sum(case when point > 0 then point else 0 end) as bonusPoins |
|
|
|
sum(case when point > 0 then point else 0 end) as bonusPoins |
|
|
|
from sup_indicators |
|
|
|
from sup_indicators |
|
|
|
where assess_dept = #{deptId} |
|
|
|
where assess_dept = #{params.deptId} |
|
|
|
and DATE_FORMAT(create_time, '%Y%m') = DATE_FORMAT(CURDATE(), '%Y%m') |
|
|
|
and DATE_FORMAT(create_time, '%Y%m') = DATE_FORMAT(CURDATE(), '%Y%m') |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|