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

客户资料查询显示BUG修复

anderx лет назад: 7
Родитель
Сommit
df6444b153
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

@@ -1807,7 +1807,7 @@ from
 	on b.location_city=c1.id left join district_glossory c2 
 	on b.location_area=c2.id left join industry_category d 
 	on b.industry = d.id 
-	where 1=1 and status=0
+	where 1=1 and a.status=0
 		<if test="type !=null and type!=''">
 			and a.`type`=#{type,jdbcType=VARCHAR}
 			</if>
@@ -1870,7 +1870,7 @@ inner join(
 			or superior_id=  #{aid,jdbcType=VARCHAR}
 			) y
 			on y.id=a.information_maintainer
-			where 1=1
+			where 1=1 a.status=0
 			<if test="type !=null and type!=''">
 			and a.`type`=#{type,jdbcType=VARCHAR}
 			</if>