完成【我的·工资结算记录】板块

This commit is contained in:
2025-02-22 16:09:45 +08:00
parent 8ee2e24976
commit 10db6568fc
10 changed files with 69 additions and 14 deletions

View File

@ -113,9 +113,26 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
f.update_time AS file_update_time,
f.remark AS file_remark
FROM
your_main_table w
wgz_pay_calculation w
LEFT JOIN
wgz_pay_calculation_files f ON w.id = f.calculation_id
<where>
<choose>
<when test="page.auditorType != null and taskId != '' and auditorType == '0'">
AND w.auditor_type in ('0', '1') and
</when>
<when test="page.auditorType != null and taskId != '' and auditorType == '1'">
AND w.auditor_type = '2' and
</when>
<when test="page.auditorType != null and taskId != '' and auditorType == '2'">
AND w.auditor_type = '3' and
</when>
<when test="page.auditorType != null and taskId != '' and auditorType == '2'">
AND w.auditor_type = in ('0', '1','3') and
</when>
</choose>
w.del_flag = 0
</where>
</select>