feat(oa): 考勤记录查询支持导出功能并优化相关接口

- 移除了考勤记录相关接口的权限注解
- 新增了考勤记录的自定义查询方法
- 添加了昵称字段到考勤记录的 VO 类
- 更新了 mapper 和 XML 文件以支持新的查询功能
This commit is contained in:
2025-08-06 17:39:05 +08:00
parent 86f40f2a9a
commit da99c318c1
5 changed files with 36 additions and 8 deletions

View File

@@ -20,6 +20,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="delFlag" column="del_flag"/>
<result property="remark" column="remark"/>
</resultMap>
<select id="selectVoPagePlus" resultType="com.gear.oa.domain.vo.GearAttendanceRecordVo">
select ar.record_id, ar.user_id, ar.record_date, ar.record_type, ar.start_time,
ar.end_time, ar.duration_hour, ar.status, ar.create_time, ar.create_by,
ar.update_time, ar.update_by, ar.del_flag, ar.remark,
u.nick_name AS nickName
from gear_attendance_record ar
left join gear_user u on ar.user_id = u.user_id
${ew.customSqlSegment}
</select>
</mapper>