gao.qiang 10 kuukautta sitten
vanhempi
commit
e6f72682b0

+ 1 - 1
business-service/src/main/java/com/ozs/service/service/MsgAlarmService.java

@@ -51,5 +51,5 @@ public interface MsgAlarmService extends IService<MsgAlarm> {
 
     List<MsgAlarm> queryAlarmInfoByAfterTenMinute();
 
-    IPage<MsgAlarm> queryPageHome(MsgAlarmVo msgAlarmVo);
+    IPage<MsgAlarm> queryPageHome(MsgAlarmVo msgAlarmVo); 
 }

+ 1 - 1
business-service/src/main/java/com/ozs/service/service/impl/MsgAlarmServiceImpl.java

@@ -141,7 +141,7 @@ public class MsgAlarmServiceImpl extends ServiceImpl<MsgAlarmMapper, MsgAlarm> i
     }
 
     @Override
-    public IPage<MsgAlarm> queryPageHome(MsgAlarmVo msgAlarmVo) {
+    public IPage<MsgAlarm> queryPageHome(MsgAlarmVo msgAlarmVo) { 
         int pageNum = Integer.parseInt(msgAlarmVo.getPageNum().toString());
         int pageSize = Integer.parseInt(msgAlarmVo.getPageSize().toString());
         com.github.pagehelper.Page<MsgAlarm> page = PageHelper.startPage(pageNum, pageSize)

+ 1 - 1
hazard-admin/src/main/java/com/ozs/web/controller/accountmanagment/MsgAlarmController.java

@@ -174,7 +174,7 @@ public class MsgAlarmController extends BaseController {
         if (!ObjectUtils.isEmpty(msgAlarmVo.getEndMile())) {
             msgAlarmVo.setEndMile(msgAlarmVo.getEndMile() * 1000);
         }
-        IPage<MsgAlarm> page = msgAlarmService.queryPageHome(msgAlarmVo);
+        IPage<MsgAlarm> page = msgAlarmService.queryPageHome(msgAlarmVo); 
         page.setTotal(page.getTotal());
         page.setCurrent(page.getCurrent());
         page.setPages(page.getPages());