修改大屏接口
This commit is contained in:
parent
8fd74f4f0e
commit
94fd631ea7
|
@ -50,10 +50,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
|
||||
<select id="advanceDept" resultType="map">
|
||||
SELECT
|
||||
`dept`,
|
||||
`events`
|
||||
a.`events`,
|
||||
b.dept_name dept,
|
||||
SUM( c.score ) score,
|
||||
sum( c.now_score ) nowScore
|
||||
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>
|
||||
|
||||
<insert id="insertTAmentAdvancedDept" parameterType="TAmentAdvancedDept" useGeneratedKeys="true" keyProperty="id">
|
||||
|
|
Loading…
Reference in New Issue