api加解密,金额字段类型

This commit is contained in:
zt
2025-03-04 17:01:15 +08:00
parent f46223ae10
commit 485e86c6e4
40 changed files with 519 additions and 58 deletions

View File

@ -53,7 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by bpra.create_time desc,bpra.status asc
</select>
<select id="todayAttendanceList" resultType="com.ruoyi.bgt.domain.vo.BgtProjectRecruitApplyVO">
<select id="dayAttendanceList" resultType="com.ruoyi.bgt.domain.vo.BgtProjectRecruitApplyVO">
select bpra.id,
bpra.entry_time,
wu.user_id,
@ -63,7 +63,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
wu.username,
wu.type_of_work,
bpr.recruit_name,
fpt.task_name
fpt.task_name,
CASE
WHEN wa.leave_mark_id is not null THEN '请假'
WHEN wa.late =1 THEN '迟到'
WHEN wa.early_leave =1 THEN '早退'
WHEN wa.missed_in = 0 OR wa.missed_out = 0 THEN '出勤'
WHEN wa.missed_in =1 and missed_out = 1 THEN '缺勤'
ELSE '未知状态'
END AS attendance_status
from wgz_attendance wa
left join wgz_user wu on wa.user_id = wu.user_id
left join bgt_project_recruit_apply bpra on wa.recruit_id = bpra.recruit_id and bpra.user_id = wa.user_id
@ -71,10 +79,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join fbs_project_task fpt on fpt.id = bpr.task_id
where wa.date = #{dto.date}
<if test="dto.attendanceType !=null and dto.attendanceType ==1 ">
and (wa.missed_in =0 or missed_out = 0 )
and (wa.missed_in =0 or wa.missed_out = 0 )
</if>
<if test="dto.attendanceType !=null and dto.attendanceType ==2 ">
and (wa.missed_in =1 and missed_out = 1 )
and (wa.missed_in =1 and wa.missed_out = 1)
</if>
<if test="dto.attendanceType !=null and dto.attendanceType ==3 ">
and wa.late =1