소스 검색

Merge branch '登录权限部分调整' into uat

zxfqwert 3 달 전
부모
커밋
7ac3d222c8
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      suishenbang-wxportal/suishenbang-wxportal-common/src/main/resources/mapper/wxportal/WxMagnetMapper.xml

+ 3 - 1
suishenbang-wxportal/suishenbang-wxportal-common/src/main/resources/mapper/wxportal/WxMagnetMapper.xml

@@ -189,9 +189,11 @@
             <if test="loginType != null and loginType != ''">
                 AND ur.shop_type = #{loginType}
             </if>
-            <if test="loginType = null and loginType = ''">
+
+            <if test="loginType = null or loginType == ''.toString()">
                 AND ur.shop_type is null
             </if>
+
         </where>
         order by  m.order_num
     </select>