浏览代码

下属资料查询BUG修复

anderx 7 年之前
父节点
当前提交
ccaf147ee3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>