工资,日报,补卡
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user