yonge преди 5 години
родител
ревизия
ca5db683b6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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>