|
@@ -3,6 +3,7 @@ package com.care.bms.controller;
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
+import com.care.bigscreen.service.BigScreenService;
|
|
|
import com.care.bms.service.BmsEventOrderService;
|
|
|
import com.care.common.entity.CareEventOrderChamb;
|
|
|
import com.care.common.enums.CallResultEnum;
|
|
@@ -25,6 +26,7 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import javax.annotation.Resource;
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
@@ -44,7 +46,8 @@ public class EventHandleController {
|
|
|
|
|
|
@Autowired
|
|
|
private BmsEventOrderService bmsEventOrderService;
|
|
|
-
|
|
|
+ @Resource
|
|
|
+ private BigScreenService bigScreenService;
|
|
|
|
|
|
/**
|
|
|
*未处理事件查询
|
|
@@ -178,6 +181,7 @@ public class EventHandleController {
|
|
|
public Result<Object> receiveOrder(HttpServletRequest request,@RequestHeader("token") String token,@PathVariable("orderId") Long orderId){
|
|
|
UserLogindConvertVO loginUser = WebPageUtils.getCurrentLoginedUser(request);
|
|
|
this.bmsEventOrderService.receiveOrder(orderId,loginUser);
|
|
|
+ bigScreenService.pushRtEventFlag(null,String.valueOf(orderId),"orderHandle");
|
|
|
return Result.success("领取工单成功!");
|
|
|
}
|
|
|
@GetMapping("/getEventInfo/{orderId}")
|