|
@@ -146,7 +146,7 @@ public class MsgAlarmController extends BaseController {
|
|
|
@ApiOperation(value = "web消息已读")
|
|
|
@Log(title = "报警信息管理", businessType = BusinessType.SELECT)
|
|
|
public AjaxResult read(@RequestBody MsgWebPush msgWebPush) {
|
|
|
- if (StringUtils.isEmpty(msgWebPush) || StringUtils.isEmpty(msgWebPush.getPushId())) {
|
|
|
+ if (StringUtils.isEmpty(msgWebPush) || ObjectUtils.isEmpty(msgWebPush.getPushId())) {
|
|
|
return AjaxResult.error("PushId不能为空!");
|
|
|
}
|
|
|
return toAjax(msgWebPushService.read(msgWebPush));
|