Commit 5472302d authored by chenhao's avatar chenhao

修改Bug 隐患治理消息通知中存在null 的问题

parent 367d5863
...@@ -191,6 +191,7 @@ public class AsyncTask { ...@@ -191,6 +191,7 @@ public class AsyncTask {
if (pointName != null) { if (pointName != null) {
body += "关联检查点:" + pointName + TAB; body += "关联检查点:" + pointName + TAB;
} }
body = body.replaceAll(null, "").replaceAll("null", "");
saveAndSendMsg(orgCode, informerList, msgTypeEnum.getTitle(), body, msgTypeEnum.getMsgType(), latentDangerId, state,""); saveAndSendMsg(orgCode, informerList, msgTypeEnum.getTitle(), body, msgTypeEnum.getMsgType(), latentDangerId, state,"");
} }
......
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