Commit f9b00d3e by 汪志阳

fix:bug修改

parent 9c90bb39
...@@ -39,8 +39,8 @@ public class PlatAlarmRecordChildrenController { ...@@ -39,8 +39,8 @@ public class PlatAlarmRecordChildrenController {
//只能看到发给关联的长者告警 //只能看到发给关联的长者告警
PageVO<PlatAlarmRecordVO> result = platAlarmRecordService.childrenPage(dto); PageVO<PlatAlarmRecordVO> result = platAlarmRecordService.childrenPage(dto);
Map<String, Object> resMap = Maps.newHashMap(); Map<String, Object> resMap = Maps.newHashMap();
boolean b = result.getList().stream().anyMatch(p -> StringUtils.equals(CommonEnum.NO.getValue(), p.getStatus())); boolean b = result.getList().stream().anyMatch(p -> StringUtils.equals(CommonEnum.NO.getValue(), p.getWechatReadFlag()));
resMap.put("wechatReadFlag", b); resMap.put("todoFlag", b);
resMap.put("page", result); resMap.put("page", result);
return ApiResponseUtils.success(resMap); return ApiResponseUtils.success(resMap);
} }
......
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 sign in to comment