Browse Source

下属资料查询BUG修复

anderx 7 years ago
parent
commit
ccaf147ee3
1 changed files with 1 additions and 1 deletions
  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>