@@ -816,7 +816,7 @@ SELECT t.id,
<foreach collection="request.roleIdList" item="roleId" open="(" separator="," close=")">
#{roleId}
</foreach>
- where p.is_deleted=0 and p.distribute_status=1)
+ where p.is_deleted=0 and p.plan_status=1)
))
and t.status in (1,2)
and ((