Jelajahi Sumber

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

zxfqwert 3 bulan lalu
induk
melakukan
7ac3d222c8

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

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