|
@@ -235,16 +235,16 @@ public class MapDataServiceImpl implements MapDataService {
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- public Map<String,Object> getMapDataType(int page, int limit, String dictType, String type, String title) {
|
|
|
|
|
|
+ public Map<String,Object> getMapDataType( String dictType, String type, String title) {
|
|
String[] split = null;
|
|
String[] split = null;
|
|
if (StrUtil.isNotEmpty(dictType)){
|
|
if (StrUtil.isNotEmpty(dictType)){
|
|
split = dictType.split(",");
|
|
split = dictType.split(",");
|
|
}
|
|
}
|
|
- page = (page - 1) * limit;
|
|
|
|
- Integer mapDataCount = mapDataDao.getMapDataCount(split, type, title);
|
|
|
|
- if (mapDataCount == 0){
|
|
|
|
- return SendUtil.layuiTable(mapDataCount, null);
|
|
|
|
- }
|
|
|
|
- return SendUtil.layuiTable(mapDataCount, mapDataDao.getMapDataType(page,limit,split, type, title));
|
|
|
|
|
|
+// page = (page - 1) * limit;
|
|
|
|
+// Integer mapDataCount = mapDataDao.getMapDataCount(split, type, title);
|
|
|
|
+// if (mapDataCount == 0){
|
|
|
|
+// return SendUtil.layuiTable(mapDataCount, null);
|
|
|
|
+// }
|
|
|
|
+ return SendUtil.send(true,"", mapDataDao.getMapDataType(split, type, title));
|
|
}
|
|
}
|
|
}
|
|
}
|