成本分析查询所有项目成本接口初步修改

This commit is contained in:
liuzongkun999
2025-03-06 20:46:01 +08:00
parent c70a3de1ca
commit c31f440510
7 changed files with 53 additions and 20 deletions

View File

@@ -151,6 +151,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND attendance_day = #{attendanceDay}
</select>
<delete id="delOaAttendanceAll">
delete from sys_oa_attendance where
attendance_day = #{day}
@@ -158,4 +159,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and create_time > #{firstDay}
</delete>
<select id="getAttendanceDay" resultType="java.lang.Double">
select sum(day_length)
from sys_oa_attendance
where user_id = #{userId} and project_id = #{projectId} and del_flag = '0'
</select>
</mapper>