|
|
@@ -1099,6 +1099,7 @@ and
|
|
|
LEFT JOIN sys_org c ON a.org_id = c.id
|
|
|
WHERE
|
|
|
a.deleted = 0
|
|
|
+ AND a.is_lock = 0
|
|
|
AND b.certificate_work = '1'
|
|
|
AND b.duties IN ( 2, 4, 5 )
|
|
|
AND a.is_manage = 'Y'
|
|
|
@@ -1218,6 +1219,7 @@ and
|
|
|
AND a.duties in ('1','2','3')
|
|
|
AND b.is_manage = 'Y'
|
|
|
AND b.deleted =0
|
|
|
+ AND b.is_lock =0
|
|
|
AND c.path LIKE concat(#{orgPath}, '%')
|
|
|
</select>
|
|
|
<select id="getManagerCertificate" resultType="java.lang.Integer">
|
|
|
@@ -1235,6 +1237,7 @@ and
|
|
|
AND a.duties in ('1','2','3')
|
|
|
AND b.is_manage = 'Y'
|
|
|
AND b.deleted =0
|
|
|
+ AND b.is_lock =0
|
|
|
AND c.path LIKE concat(#{orgPath}, '%')
|
|
|
</select>
|
|
|
<select id="getIsMonitor" resultType="java.lang.String">
|
|
|
@@ -1251,6 +1254,7 @@ and
|
|
|
and c.is_lock = 0
|
|
|
AND b.is_manage = 'Y'
|
|
|
AND b.deleted =0
|
|
|
+ AND b.is_lock =0
|
|
|
AND c.path LIKE concat(#{orgPath}, '%')
|
|
|
</select>
|
|
|
<select id="getMonitorPeople" resultType="java.util.Map">
|
|
|
@@ -1268,6 +1272,7 @@ and
|
|
|
and c.is_lock = 0
|
|
|
AND b.is_manage = 'Y'
|
|
|
AND b.deleted =0
|
|
|
+ AND b.is_lock =0
|
|
|
AND c.path LIKE concat(#{orgPath}, '%')
|
|
|
</select>
|
|
|
<select id="getSafeHeadToNetwork" resultType="java.lang.Integer">
|