lyhzzz hai 9 meses
pai
achega
2534afe2f1

+ 1 - 1
src/main/java/com/fdkankan/manage/mapper/IJyUserPlatformMapper.java

@@ -23,5 +23,5 @@ public interface IJyUserPlatformMapper extends BaseMapper<JyUserPlatform> {
 
     Page<JyUserPlatformVo> pageList(Page<Object> objectPage, JyUserPlatformParam param);
 
-    List<JyUserPlatform> queryByKey(@Param("queryKey") String queryKey, @Param("noInIds") List<String> ids);
+    List<JyUserPlatform> queryByKey(@Param("queryKey") String queryKey);
 }

+ 1 - 2
src/main/java/com/fdkankan/manage/service/impl/JyUserPlatformServiceImpl.java

@@ -110,8 +110,7 @@ public class JyUserPlatformServiceImpl extends ServiceImpl<IJyUserPlatformMapper
         if(StringUtils.isBlank(param.getQueryKey())){
             throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
         }
-        List<String> platformAdminIdCards = platformService.getIds();
-        return this.getBaseMapper().queryByKey(param.getQueryKey(),platformAdminIdCards);
+        return this.getBaseMapper().queryByKey(param.getQueryKey());
     }
 
 

+ 0 - 6
src/main/resources/mapper/manage/JyUserPlatformMapper.xml

@@ -34,11 +34,5 @@
         <if test="queryKey != null and queryKey !=''">
             and ( ry_nick_name = #{queryKey} or phone = #{queryKey} or id_card = #{queryKey}  )
         </if>
-        <if test="noInIds != null and noInIds.size >0">
-            and id_card is null or  id_card not in
-            <foreach collection="noInIds" item="idCard" open="(" close=")" separator=",">
-                #{idCard}
-            </foreach>
-        </if>
     </select>
 </mapper>