员工管理-审核管理,列表页面语句调整增加openId字段
This commit is contained in:
parent
a48c944091
commit
c1e2becf65
|
|
@ -36,7 +36,8 @@
|
||||||
b.modify_status,
|
b.modify_status,
|
||||||
b.apply_type,
|
b.apply_type,
|
||||||
b.audit_content,
|
b.audit_content,
|
||||||
b.iz_history
|
b.iz_history,
|
||||||
|
b.open_id
|
||||||
FROM nu_biz_employees_apply b
|
FROM nu_biz_employees_apply b
|
||||||
) sup
|
) sup
|
||||||
${ew.customSqlSegment}
|
${ew.customSqlSegment}
|
||||||
|
|
@ -76,7 +77,8 @@
|
||||||
b.modify_status,
|
b.modify_status,
|
||||||
b.apply_type,
|
b.apply_type,
|
||||||
b.audit_content,
|
b.audit_content,
|
||||||
b.iz_history
|
b.iz_history,
|
||||||
|
b.open_id
|
||||||
FROM nu_biz_employees_info a
|
FROM nu_biz_employees_info a
|
||||||
LEFT JOIN nu_biz_employees_apply b ON a.id = b.employee_id AND b.iz_history = 'N'
|
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'
|
WHERE a.del_flag = '0' AND a.iz_freeze = 'N'
|
||||||
|
|
@ -113,7 +115,8 @@
|
||||||
b.modify_status,
|
b.modify_status,
|
||||||
b.apply_type,
|
b.apply_type,
|
||||||
b.audit_content,
|
b.audit_content,
|
||||||
b.iz_history
|
b.iz_history,
|
||||||
|
b.open_id
|
||||||
FROM nu_biz_employees_apply b
|
FROM nu_biz_employees_apply b
|
||||||
WHERE b.employee_id NOT IN (SELECT id FROM nu_biz_employees_info)
|
WHERE b.employee_id NOT IN (SELECT id FROM nu_biz_employees_info)
|
||||||
AND b.apply_type = '1'
|
AND b.apply_type = '1'
|
||||||
|
|
@ -159,7 +162,8 @@
|
||||||
b.modify_status,
|
b.modify_status,
|
||||||
b.apply_type,
|
b.apply_type,
|
||||||
b.audit_content,
|
b.audit_content,
|
||||||
b.iz_history
|
b.iz_history,
|
||||||
|
b.open_id
|
||||||
FROM nu_biz_employees_apply b
|
FROM nu_biz_employees_apply b
|
||||||
where b.id = #{id}
|
where b.id = #{id}
|
||||||
</select>
|
</select>
|
||||||
|
|
@ -197,7 +201,8 @@
|
||||||
b.modify_status,
|
b.modify_status,
|
||||||
b.apply_type,
|
b.apply_type,
|
||||||
b.audit_content,
|
b.audit_content,
|
||||||
b.iz_history
|
b.iz_history,
|
||||||
|
b.open_id
|
||||||
FROM nu_biz_employees_apply b
|
FROM nu_biz_employees_apply b
|
||||||
where b.employee_id = #{employeeId}
|
where b.employee_id = #{employeeId}
|
||||||
and b.status = #{status}
|
and b.status = #{status}
|
||||||
|
|
@ -240,7 +245,8 @@
|
||||||
b.modify_status,
|
b.modify_status,
|
||||||
b.apply_type,
|
b.apply_type,
|
||||||
b.audit_content,
|
b.audit_content,
|
||||||
b.iz_history
|
b.iz_history,
|
||||||
|
b.open_id
|
||||||
FROM nu_biz_employees_apply b
|
FROM nu_biz_employees_apply b
|
||||||
where b.employee_id = #{employeeId}
|
where b.employee_id = #{employeeId}
|
||||||
and b.status = #{status}
|
and b.status = #{status}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue