Browse Source

update

Signed-off-by: anderx <312518615@qq.com>
anderx 5 years ago
parent
commit
78721065e3

+ 1 - 1
src/main/java/com/goafanti/common/mapper/OrganizationManagementMapper.xml

@@ -667,7 +667,7 @@
 	left join user_role e on a.id=e.uid
 	left join `role` f on e.rid=f.id
 	where f.role_name in ('营销员','营销经理')	
-	and	 a.status='正常' 
+	and	 a.status='正常' and a.type=1
 	<if test="depName !=null">
 	and d.name= #{depName}
 	</if>