Compare commits

..

No commits in common. "29afc5ee2ec9a7870ed064aa5b7dd304b5cc4c36" and "8fd74f4f0e6c77b474825b26538f9ad398d251a2" have entirely different histories.

1 changed files with 3 additions and 12 deletions

View File

@ -50,19 +50,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="advanceDept" resultType="map"> <select id="advanceDept" resultType="map">
SELECT SELECT
a.`events`, `dept`,
c.type, `events`
b.dept_name dept,
SUM( c.score ) score,
sum( c.now_score ) nowScore
FROM FROM
t_ament_advanced_dept a t_ament_advanced_dept
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">