yonge %!s(int64=5) %!d(string=hai) anos
pai
achega
ca5db683b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/SchoolMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/SchoolMapper.xml

@@ -141,7 +141,7 @@
         AND (FIND_IN_SET(organ_id_,#{organId}) and user_id_ is NULL  or user_id_ = #{userId})
         </if>
         <if test="organId == null">
-        	and user_id_ = #{userId}
+        	or user_id_ = #{userId}
         </if>
     </select>
 </mapper>