Commit ce73d781 by Ren Ping

fix:服务类消息新增服务类消息类别,0:上门延误,1:服务超时

1 parent f34a2f7d
...@@ -86,6 +86,7 @@ public class ServiceMsgScheduler { ...@@ -86,6 +86,7 @@ public class ServiceMsgScheduler {
orderInfoEntity.getOrderId(), orderInfoEntity.getOrderId(),
DateUtil.format(orderInfoEntity.getExpectTimeBegin(), "yyyy-MM-dd HH:mm") DateUtil.format(orderInfoEntity.getExpectTimeBegin(), "yyyy-MM-dd HH:mm")
)); ));
dto.setServiceMsgType(0);
} else {//超时 } else {//超时
dto.setContent(String.format(timeoutContent, dto.setContent(String.format(timeoutContent,
orgName, orgName,
...@@ -94,6 +95,8 @@ public class ServiceMsgScheduler { ...@@ -94,6 +95,8 @@ public class ServiceMsgScheduler {
orderInfoEntity.getOrderId(), orderInfoEntity.getOrderId(),
DateUtil.format(orderInfoEntity.getExpectTimeEnd(), "yyyy-MM-dd HH:mm") DateUtil.format(orderInfoEntity.getExpectTimeEnd(), "yyyy-MM-dd HH:mm")
)); ));
dto.setServiceMsgType(1);
} }
msgService.add(dto); msgService.add(dto);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!