更新
This commit is contained in:
@@ -19,6 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="delFlag" column="del_flag"/>
|
||||
<result property="count" column="count"/>
|
||||
<result property="workTimes" column="work_times"/>
|
||||
<result property="hourWorkTimes" column="hour_work_times"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
@@ -37,11 +38,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
ANY_VALUE(remark),
|
||||
ANY_VALUE(del_flag),
|
||||
count(*) as count,
|
||||
sum(day_length) as work_times
|
||||
sum(day_length) as work_times,
|
||||
sum(hour) as hour_work_times
|
||||
from sys_oa_attendance soa
|
||||
where user_id = #{userId}
|
||||
and #{lastDay} > create_time
|
||||
and create_time > #{firstDay}
|
||||
and del_flag = '0'
|
||||
group by soa.project_id
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user