@@ -54,6 +54,7 @@
join uims_org c on a.COMPANY_ORG_ID=c.id left join
uims_org d on a.DEPT_ORG_ID=d.ID
<where>
+ and a.status=1
<if test="id != null">
and ID = #{id}
</if>