Commit 878f1223 by 杨林龙

1.23.0 添加设备定位和警情查询接口 展示失效的警情

1 parent 3de00f5c
......@@ -89,7 +89,8 @@ public class AlarmCenterApiImpl {
public List<CommonAlarmDto> listCommonAlarmDtoBySns(String sn, Integer alarmType) {
CommonAlarmBo commonAlarmBo = new CommonAlarmBo();
commonAlarmBo.setSnList(Lists.newArrayList(sn));
commonAlarmBo.setDelflag(0);
// 生效和失效的都展示
//commonAlarmBo.setDelflag(0);
commonAlarmBo.setAlarmType(alarmType);
R<List<CommonAlarmDto>> searchR = alarmFeignClient.getTheLastThreeAlarms(commonAlarmBo);
if (searchR.getCode() != 200 || !searchR.getMessage().equalsIgnoreCase("success")) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!