国标级联支持搜索

This commit is contained in:
648540858
2024-08-29 17:18:22 +08:00
parent 8dc27d1353
commit 0416b76ed0
5 changed files with 30 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ public interface IPlatformService {
* @param count
* @return
*/
PageInfo<Platform> queryPlatformList(int page, int count);
PageInfo<Platform> queryPlatformList(int page, int count, String query);
/**
* 添加级联平台

View File

@@ -156,9 +156,9 @@ public class PlatformServiceImpl implements IPlatformService {
}
@Override
public PageInfo<Platform> queryPlatformList(int page, int count) {
public PageInfo<Platform> queryPlatformList(int page, int count, String query) {
PageHelper.startPage(page, count);
List<Platform> all = platformMapper.queryList();
List<Platform> all = platformMapper.queryList(query);
return new PageInfo<>(all);
}