员工管理-审核管理,列表页面语句调整增加openId字段

This commit is contained in:
曹磊 2026-02-26 16:03:27 +08:00
parent a48c944091
commit c1e2becf65
1 changed files with 12 additions and 6 deletions

View File

@ -36,7 +36,8 @@
b.modify_status,
b.apply_type,
b.audit_content,
b.iz_history
b.iz_history,
b.open_id
FROM nu_biz_employees_apply b
) sup
${ew.customSqlSegment}
@ -76,7 +77,8 @@
b.modify_status,
b.apply_type,
b.audit_content,
b.iz_history
b.iz_history,
b.open_id
FROM nu_biz_employees_info a
LEFT JOIN nu_biz_employees_apply b ON a.id = b.employee_id AND b.iz_history = 'N'
WHERE a.del_flag = '0' AND a.iz_freeze = 'N'
@ -113,7 +115,8 @@
b.modify_status,
b.apply_type,
b.audit_content,
b.iz_history
b.iz_history,
b.open_id
FROM nu_biz_employees_apply b
WHERE b.employee_id NOT IN (SELECT id FROM nu_biz_employees_info)
AND b.apply_type = '1'
@ -159,7 +162,8 @@
b.modify_status,
b.apply_type,
b.audit_content,
b.iz_history
b.iz_history,
b.open_id
FROM nu_biz_employees_apply b
where b.id = #{id}
</select>
@ -197,7 +201,8 @@
b.modify_status,
b.apply_type,
b.audit_content,
b.iz_history
b.iz_history,
b.open_id
FROM nu_biz_employees_apply b
where b.employee_id = #{employeeId}
and b.status = #{status}
@ -240,7 +245,8 @@
b.modify_status,
b.apply_type,
b.audit_content,
b.iz_history
b.iz_history,
b.open_id
FROM nu_biz_employees_apply b
where b.employee_id = #{employeeId}
and b.status = #{status}