工资,日报,补卡

This commit is contained in:
zt
2025-02-22 17:22:24 +08:00
parent 10db6568fc
commit 7e423bf296
26 changed files with 837 additions and 68 deletions

View File

@ -47,5 +47,27 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.id DESC
</select>
<select id="appQueryPageList" resultType="com.ruoyi.bgt.domain.vo.BgtDailyClockListVO">
select wdc.id,
wdc.finish_today,
wdc.auditor_type,
wdc.dily_time,
wu.avatar_name,
wu.username
from wgz_daily_clock wdc
left join wgz_user wu on wdc.user_id = wu.user_id
where wdc.auditor_user_id = #{dto.auditorUserId}
and wdc.recruit_id in (select id from bgt_project_recruit where task_id = #{dto.taskId})
<if test="dto.username != null and dto.username != ''">
and wu.username like concat('%', #{dto.username}, '%')
</if>
<if test="dto.auditorType != null and dto.auditorType != ''">
and wdc.auditor_type = #{dto.auditorType}
</if>
<if test="dto.recruit_id != null">
and DATE(wdc.dily_time) = #{dto.dilyTime}
</if>
</select>
</mapper>