|
@@ -100,7 +100,7 @@ public class MapDataServiceImpl implements MapDataService {
|
|
|
|
|
|
@Override
|
|
|
public Map<String, Object> saveErrorLog(Map<String, Object> mapErrorLog) {
|
|
|
- if(Blank.isEmpty(mapErrorLog.get("sMapId"))){
|
|
|
+ if (Blank.isEmpty(mapErrorLog.get("sMapId"))) {
|
|
|
return SendUtil.send(false, ConstStr.ADD_FAILED, "sMapId为空");
|
|
|
}
|
|
|
mapErrorLog.put("errorState", 0);
|
|
@@ -111,4 +111,13 @@ public class MapDataServiceImpl implements MapDataService {
|
|
|
return SendUtil.send(true, ConstStr.ADD_SUCCESS, "");
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public Map<String, Object> getHandMatterPage(int page, int limit, int type, String itemName, String matterDept) {
|
|
|
+ int startRows = (page - 1) * limit;
|
|
|
+ int count = mapDataDao.getHandMatterCount(type, itemName, matterDept);
|
|
|
+ if (count > 0) {
|
|
|
+ return SendUtil.layuiTable(count, mapDataDao.getHandMatterPage(startRows, limit, type, itemName, matterDept));
|
|
|
+ }
|
|
|
+ return SendUtil.layuiTable(0, null);
|
|
|
+ }
|
|
|
}
|