兼容0状态档案
This commit is contained in:
parent
b206fd984c
commit
7195dc7618
|
|
@ -117,7 +117,7 @@
|
||||||
LEFT JOIN hrmdepartment d ON d.id = e.departmentid
|
LEFT JOIN hrmdepartment d ON d.id = e.departmentid
|
||||||
LEFT JOIN hrmsubcompany c ON c.id = e.subcompanyid1
|
LEFT JOIN hrmsubcompany c ON c.id = e.subcompanyid1
|
||||||
WHERE t.delete_type = 0
|
WHERE t.delete_type = 0
|
||||||
and t.employee_type is null
|
and (t.employee_type is null or t.employee_type = 0)
|
||||||
and e.status not in (7)
|
and e.status not in (7)
|
||||||
|
|
||||||
<if test="param.ids != null and param.ids.size()>0">
|
<if test="param.ids != null and param.ids.size()>0">
|
||||||
|
|
@ -221,7 +221,7 @@
|
||||||
LEFT JOIN hrmdepartment d ON d.id = e.departmentid
|
LEFT JOIN hrmdepartment d ON d.id = e.departmentid
|
||||||
LEFT JOIN hrmsubcompany c ON c.id = e.subcompanyid1
|
LEFT JOIN hrmsubcompany c ON c.id = e.subcompanyid1
|
||||||
WHERE t.delete_type = 0
|
WHERE t.delete_type = 0
|
||||||
and t.employee_type is null
|
and (t.employee_type is null or t.employee_type = 0)
|
||||||
and e.status not in (7)
|
and e.status not in (7)
|
||||||
|
|
||||||
<if test="param.ids != null and param.ids.size()>0">
|
<if test="param.ids != null and param.ids.size()>0">
|
||||||
|
|
@ -322,7 +322,7 @@
|
||||||
LEFT JOIN hrmdepartment d ON d.id = e.departmentid
|
LEFT JOIN hrmdepartment d ON d.id = e.departmentid
|
||||||
LEFT JOIN hrmsubcompany c ON c.id = e.subcompanyid1
|
LEFT JOIN hrmsubcompany c ON c.id = e.subcompanyid1
|
||||||
WHERE t.delete_type = 0
|
WHERE t.delete_type = 0
|
||||||
and t.employee_type is null
|
and (t.employee_type is null or t.employee_type = 0)
|
||||||
and e.status not in (7)
|
and e.status not in (7)
|
||||||
|
|
||||||
<if test="param.ids != null and param.ids.size()>0">
|
<if test="param.ids != null and param.ids.size()>0">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue