Просмотр исходного кода

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

anderx лет назад: 3
Родитель
Сommit
4bf740e1a1
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

+ 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 dg2 on b.location_city = dg2.id
 		left join district_glossory dg3 on b.location_area = dg3.id
 		left join district_glossory dg3 on b.location_area = dg3.id
 		left join admin d on a.aid = d.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">
 	<if test="role == 0">
 		and un.name
 		and un.name
 		<if test="names == null">
 		<if test="names == null">
@@ -397,7 +397,7 @@
 		from admin
 		from admin
 		where department_id=#{departmentId,jdbcType=VARCHAR}) d on a.aid = d.id
 		where department_id=#{departmentId,jdbcType=VARCHAR}) d on a.aid = d.id
 		</if>
 		</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">
 		<if test="role == 0">
 			and un.name
 			and un.name
 			<if test="names == null">
 			<if test="names == null">