Explorar o código

下属资料查询BUG修复

anderx %!s(int64=7) %!d(string=hai) anos
pai
achega
ccaf147ee3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

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

@@ -1870,7 +1870,7 @@ inner join(
 			or superior_id=  #{aid,jdbcType=VARCHAR}
 			) y
 			on y.id=a.information_maintainer
-			where 1=1 a.status=0
+			where 1=1 and a.status=0
 			<if test="type !=null and type!=''">
 			and a.`type`=#{type,jdbcType=VARCHAR}
 			</if>