|
@@ -66,7 +66,7 @@
|
|
|
left join biz_tenant t8 on t8.id = t9.to_tenant_id
|
|
|
<trim prefix=" WHERE" suffix="" suffixOverrides="AND">
|
|
|
f.deleted = 0
|
|
|
- AND c.is_zero = 0 and c.deleted = 0
|
|
|
+ AND c.is_zero = 0 and c.deleted = 0 and f.is_stop = 0
|
|
|
<if test="currentEmployeeId != null ">AND current_employee_id = #{currentEmployeeId}</if>
|
|
|
<if test="principal != null and principal != ''">
|
|
|
AND (c.leader_id=#{principal} OR c.adviser_id=#{principal})
|