|
|
@@ -215,10 +215,7 @@
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
|
|
|
- <update id="updateStaffName">
|
|
|
- select pid ,group_concat(name)name from project_staff
|
|
|
- where pid = #{pid} group by pid
|
|
|
- </update>
|
|
|
+
|
|
|
<update id="updateDuration">
|
|
|
update project_task
|
|
|
set duration=(select sum(a.duration)
|
|
|
@@ -331,4 +328,9 @@
|
|
|
from project_task
|
|
|
where project_status =0
|
|
|
</select>
|
|
|
+
|
|
|
+ <select id="updateStaffName" resultType="java.lang.String">
|
|
|
+ select group_concat(name)name from project_staff
|
|
|
+ where pid = #{pid} group by pid
|
|
|
+ </select>
|
|
|
</mapper>
|