Przeglądaj źródła

客户查询查出注册客户BUG修复

anderx 3 lat temu
rodzic
commit
4bf740e1a1

+ 2 - 2
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -344,7 +344,7 @@
 		left join district_glossory dg2 on b.location_city = dg2.id
 		left join district_glossory dg3 on b.location_area = dg3.id
 		left join admin d on a.aid = d.id
-		where a.type = 1 and a.status =0
+		where a.type = 1 and a.status =0 and a.source in (1,2,3)
 	<if test="role == 0">
 		and un.name
 		<if test="names == null">
@@ -397,7 +397,7 @@
 		from admin
 		where department_id=#{departmentId,jdbcType=VARCHAR}) d on a.aid = d.id
 		</if>
-		where a.type = 1 and a.status =0
+		where a.type = 1 and a.status =0 and a.source in (1,2,3)
 		<if test="role == 0">
 			and un.name
 			<if test="names == null">