Commit f07cc362 authored by chenzhao's avatar chenzhao

修改bug

parent 54b8274f
......@@ -199,7 +199,7 @@ public class EquipmentSpecificAlarmServiceImpl extends ServiceImpl<EquipmentSpec
@Override
public org.springframework.data.domain.Page<AlarmListDataVO> listAlarmsPage(CommonPageInfoParam param) {
Page page = new Page(param.getPageNumber(), param.getPageSize());
Page page = new Page(param.getPageNumber()-1,(param.getPageNumber()-1) * param.getPageSize());
Page<Map<String, Object>> mybatisResult = this.baseMapper.pageAlarmsInfo(page, param);
List<AlarmListDataVO> res = new ArrayList<>();
if (mybatisResult.getSize() > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment