Commit a4f52095 authored by chenhao's avatar chenhao

添加已删除的条件

parent 70c7fb9b
...@@ -695,7 +695,7 @@ LEFT JOIN ( ...@@ -695,7 +695,7 @@ LEFT JOIN (
FROM cb_org_usr FROM cb_org_usr
WHERE biz_org_code LIKE concat(t1.biz_org_code, '%') WHERE biz_org_code LIKE concat(t1.biz_org_code, '%')
AND biz_org_type = 'DEPARTMENT' AND biz_org_type = 'DEPARTMENT'
AND parent_id = t1.sequence_nbr) count, AND parent_id = t1.sequence_nbr and is_delete = 0 ) count,
sequence_nbr sequence_nbr
FROM cb_org_usr t1 FROM cb_org_usr t1
WHERE sequence_nbr IN WHERE sequence_nbr IN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment