Commit a9449dba authored by 赵啸非's avatar 赵啸非

添加消息发送系统

parent 4149996a
......@@ -184,9 +184,9 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
item.getBussinessName(), item.getQueueNo(),
doTime, upTime);*/
String alarmContent = String.format("流水号:%s,%s业务叫号平均等待时长%.1f分钟,当前叫号等待%.1f分钟,超过了平均等待时间!",
String alarmContent = String.format("流水号:%s,%s业务叫号平均等待时长为%.1f分钟,当前叫号等待了%.1f分钟,超过了平均等待时间!",
item.getQueueNo(), item.getBussinessName(),
doTime, avgTime);
avgTime, doTime);
Long siteId = item.getSiteId();
messageTaskEntity.setMessageType(等待超时预警.getValue());
messageTaskEntity.setSiteId(siteId);
......@@ -252,7 +252,7 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
//流水号:%s,%s业务办理平均时长%.1f分钟,当前在%s窗口办理%.1f分钟,超过了平均办理时间!
String alarmContent = String.format("流水号:%s,%s业务办理平均时长%.1f分钟,当前在%s窗口办理%.1f分钟,超过了平均办理时间!",
item.getQueueNo(), item.getBussinessName(),
item.getWindowNum(), doTime, avgTime);
item.getWindowNum(),avgTime, doTime);
MessageTaskEntity messageTaskEntity = new MessageTaskEntity();
messageTaskEntity.initAttrValue();
Long siteId = item.getSiteId();
......
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