|
|
@@ -78,11 +78,12 @@ public class YdbpDataImpl implements YdbpDataService {
|
|
|
int offset = (pageNum - 1) * pageSize;
|
|
|
List<String> ids = filterVo.getIds();
|
|
|
String name = filterVo.getName();
|
|
|
+ String shape = filterVo.getShape();
|
|
|
if(StringUtils.isBlank(name)){
|
|
|
name="";
|
|
|
}
|
|
|
- List<YdbpData> rows = ydbpDataMapper.selectPage(offset, pageSize,ids,name);
|
|
|
- int total = ydbpDataMapper.countAll();
|
|
|
+ List<YdbpData> rows = ydbpDataMapper.selectPage(offset, pageSize, ids, name, shape);
|
|
|
+ int total = ydbpDataMapper.countAll(ids, name, shape);
|
|
|
Map<String, Object> result = new HashMap<>();
|
|
|
result.put("rows", rows);
|
|
|
result.put("total", total);
|