소스 검색

update

Signed-off-by: anderx <312518615@qq.com>
anderx 5 년 전
부모
커밋
78721065e3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/goafanti/common/mapper/OrganizationManagementMapper.xml

+ 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>