|
@ -597,11 +597,11 @@ public class DoorOrderService {
|
|
|
|
|
|
// 发送IM消息通知患者医生已接单
|
|
|
String noticeContent = "我已接受您的服务工单预约," + doorServiceOrder.getDoctorName() + "医生正在为您服务!";
|
|
|
wlyyDoorServiceOrderService.qucikSendIM(doorServiceOrder.getId(), doorServiceOrder.getDispatcher(), "智能助手", "1", noticeContent);
|
|
|
wlyyDoorServiceOrderService.qucikSendIM(doorServiceOrder.getId(), doorServiceOrder.getDoctor(), "智能助手", "1", noticeContent);
|
|
|
// 发送居民上门服务简要信息
|
|
|
JSONObject orderInfoContent = wlyyDoorServiceOrderService.queryOrderCardInfo(doorServiceOrder);
|
|
|
orderInfoContent.put("re_msg_type", 0);
|
|
|
wlyyDoorServiceOrderService.qucikSendIM(doorServiceOrder.getId(), doorServiceOrder.getDispatcher(), "智能助手", "2101", orderInfoContent.toJSONString());
|
|
|
wlyyDoorServiceOrderService.qucikSendIM(doorServiceOrder.getId(), doorServiceOrder.getDoctor(), "智能助手", "2101", orderInfoContent.toJSONString());
|
|
|
}
|
|
|
return doorServiceOrder;
|
|
|
}
|
|
@ -612,6 +612,7 @@ public class DoorOrderService {
|
|
|
* @param orderId
|
|
|
*/
|
|
|
public void acceptOrder(String orderId, String jobCode, String jobCodeName, int hospitalLevel) throws Exception {
|
|
|
//接单和发送消息
|
|
|
WlyyDoorServiceOrderDO doorServiceOrder = acceptOrder1(orderId, jobCode, jobCodeName, hospitalLevel);
|
|
|
if (doorServiceOrder == null) {
|
|
|
return;
|
|
@ -1351,7 +1352,7 @@ public class DoorOrderService {
|
|
|
String packageId = one.getPackageId();//服务包id
|
|
|
Date date = new Date();
|
|
|
//更新计划状态为完成
|
|
|
serviceItemPlanDao.updateState(signId,packageId,date);
|
|
|
serviceItemPlanDao.updateState(signId, packageId, date);
|
|
|
|
|
|
WlyyDoorServiceOrderDO doorServiceOrderDO = this.getDoorServiceOrderById(orderId, level);
|
|
|
|