|
|
@@ -395,7 +395,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</update>
|
|
|
<update id="updateDuration">
|
|
|
update sys_user
|
|
|
- set duration=(select sum(a.duration)
|
|
|
+ set duration=(select ROUND(sum(a.duration), 4)
|
|
|
from project_staff_record a
|
|
|
where a.aid = #{aid}),
|
|
|
project_quantity=(select count(*)
|