成本分析查询所有项目成本接口初步修改
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user