ソースを参照

ross页面回归/设备列表增加机构模糊搜索

zhijiezhao 1 年間 前
コミット
0330174509

+ 0 - 6
src/main/java/com/caimei/service/auth/impl/AuthClubServiceImpl.java

@@ -105,12 +105,6 @@ public class AuthClubServiceImpl implements AuthClubService {
     @Override
     public ResponseJson<PageInfo<WxClubListVo>> getWxClubList(Integer authUserId, String appId, String lngAndLat, String authParty, Integer provinceId,
                                                               Integer cityId, Integer townId, Integer pageNum, Integer pageSize) {
-        /**
-         * ross特殊需求认证通前台首页不搜索不展示机构
-         */
-        if (null != authUserId && 12 == authUserId && StringUtils.isEmpty(authParty)) {
-            return ResponseJson.success(null);
-        }
         if (null == authUserId && StringUtils.isNotEmpty(appId)) {
             authUserId = shopMapper.getUserIdByAppId(appId);
         }

+ 1 - 1
src/main/resources/mapper/AuthProductMapper.xml

@@ -312,7 +312,7 @@
                     and p.snCode = #{snCode}
                 </if>
                 <if test="authParty != null and authParty != ''">
-                    and a.authParty = #{authParty}
+                    and a.authParty like concat('%',#{authParty},'%')
                 </if>
             </if>
             <if test="listType == 2">