国标级联支持搜索
This commit is contained in:
@@ -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);
|
||||
|
||||
/**
|
||||
* 添加级联平台
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user