|
@@ -51,7 +51,7 @@ public class AppIndexServiceImpl extends BaseService implements AppIndexService
|
|
|
countStr = countStr.substring(0, 3) + "," + countStr.substring(3);
|
|
|
TableDataInfo noticlist = remoteSystemBaseService.noticlist(1, 1);
|
|
|
|
|
|
- return AjaxResult.success(!noticlist.getRows().isEmpty() ? noticlist.getRows().get(0) : null);
|
|
|
+ return AjaxResult.success(null != noticlist.getRows() ? noticlist.getRows().get(0) : null);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return AjaxResult.error("错误");
|