工资,日报,补卡

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

@ -42,4 +42,28 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.id DESC
</select>
<select id="appQueryPageList" resultType="com.ruoyi.wgz.bo.res.WgzReplacementCardRecordRes">
SELECT
a.*,
b.username,
b.avatar_name,
c.username as userName
FROM
wgz_reissueacard a
LEFT JOIN bgt_user b ON (a.auditor_user_id = b.user_id and b.del_flag = 0)
LEFT JOIN wgz_user c ON (a.user_id = c.user_id and c.del_flag = 0)
WHERE
a.auditor_user_id = #{dto.auditorUserId}
and a.recruit_id in (select id from bgt_project_recruit where task_id = #{dto.taskId})
<if test="dto.auditorType != null and dto.auditorType != ''">
and w.auditor_type = #{dto.auditorType}
</if>
<if test="dto.nowTime != null">
and w.now_time = #{dto.nowTime}
</if>
ORDER BY
a.id DESC
</select>
</mapper>