1、报警列表页面显示所有数据bug修复;2、忽略和确认时报错

liujun-2024-05-23-接口漏洞修复
limingyu 2024-04-13 16:15:29 +08:00
parent 057ac23f9f
commit f7b28773d6
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public class DwController extends BaseController {
if (mapGet.getPage() == null){
mapGet.setPage(new com.zcloud.service.dw.dto.Page());
}
mapGet.getPage().setCurrent(String.valueOf(page.getCurrentPage()));
mapGet.getPage().setCurrent(String.valueOf(page.getUrlCurrentPage()));
mapGet.getPage().setSize(String.valueOf(page.getShowCount()));
return dwService.getAlarmList(mapGet);
}
@ -60,6 +60,7 @@ public class DwController extends BaseController {
public Object manageAlarm() throws Exception {
PageData pd = this.getPageData();
AlarmManageDto mapGet = JSONObject.parseObject(JSONObject.toJSONString(pd), AlarmManageDto.class);
mapGet.setAlarmId(pd.getString("DW_ALARM_ID"));
return dwService.manageAlarm(mapGet);
}