|
@@ -48,15 +48,9 @@ public class AppIndexServiceImpl extends AppBaseService implements AppIndexServi
|
|
|
}
|
|
|
countStr += ls.get(0).getXunjianListCount();
|
|
|
countStr = countStr.substring(0, 3) + "," + countStr.substring(3);
|
|
|
- TableDataInfo noticlist = remoteSystemBaseService.noticlist(1, 10);
|
|
|
- map.put("xunjianImgCount", countStr);
|
|
|
- map.put("noticeList", noticlist.getRows());
|
|
|
+ TableDataInfo noticlist = remoteSystemBaseService.noticlist(1, 1);
|
|
|
|
|
|
-
|
|
|
-// List late_inspection_list = managerMainMapper.getMainInspections(vo);
|
|
|
-// ajaxResult.put("late_inspection_list",late_inspection_list);
|
|
|
-
|
|
|
- return AjaxResult.success(map);
|
|
|
+ return AjaxResult.success(!noticlist.getRows().isEmpty() ? noticlist.getRows().get(0) : null);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return AjaxResult.error("错误");
|