|
|
@@ -338,8 +338,10 @@
|
|
|
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>
|
|
|
+ <update id="updateStaffName" >
|
|
|
+ update project_task
|
|
|
+ set staff_name=(select group_concat(name)name from project_staff
|
|
|
+ where pid = #{pid} group by pid)
|
|
|
+ where id= #{pid}
|
|
|
+ </update>
|
|
|
</mapper>
|