Compare commits

..

2 Commits

Author SHA1 Message Date
liuwu 29afc5ee2e 修改大屏接口 2023-08-25 11:19:29 +08:00
liuwu 94fd631ea7 修改大屏接口 2023-08-25 11:19:02 +08:00
1 changed files with 12 additions and 3 deletions

View File

@ -50,10 +50,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="advanceDept" resultType="map"> <select id="advanceDept" resultType="map">
SELECT SELECT
`dept`, a.`events`,
`events` c.type,
b.dept_name dept,
SUM( c.score ) score,
sum( c.now_score ) nowScore
FROM FROM
t_ament_advanced_dept t_ament_advanced_dept a
LEFT JOIN sys_dept b ON a.dept = b.dept_id
LEFT JOIN t_ament_party_affairs c ON a.dept = c.dept_id
WHERE
c.type IN ( '日常考核指标', '年考核指标' )
GROUP BY
c.type
</select> </select>
<insert id="insertTAmentAdvancedDept" parameterType="TAmentAdvancedDept" useGeneratedKeys="true" keyProperty="id"> <insert id="insertTAmentAdvancedDept" parameterType="TAmentAdvancedDept" useGeneratedKeys="true" keyProperty="id">