|
|
@@ -31,7 +31,6 @@
|
|
|
left join industry_category c on b.industry = c.id
|
|
|
left join admin d on a.aid = d.id
|
|
|
where a.type = 0 and a.status != 1 and a.audit_status = 1
|
|
|
- AND a.audit_status=1
|
|
|
<if test="aid != null and aid !=''">
|
|
|
and a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
@@ -912,7 +911,6 @@
|
|
|
left join admin d on a.aid = d.id
|
|
|
LEFT JOIN department_management dm on dm.id = d.department_id
|
|
|
where a.type = 0 and a.status != 1 and a.audit_status = 1
|
|
|
- AND a.audit_status=1
|
|
|
and a.share_type =0
|
|
|
<if test="aid != null and aid !=''">
|
|
|
and (a.aid = #{aid,jdbcType=VARCHAR} or d.department_id=(select department_id from admin where id=#{aid,jdbcType=VARCHAR}))
|