完成【我的·工资结算记录】板块
This commit is contained in:
@ -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>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user