|
@@ -1,6 +1,7 @@
|
|
package com.slibra.web.controller.business;
|
|
package com.slibra.web.controller.business;
|
|
|
|
|
|
import com.alibaba.fastjson2.JSON;
|
|
import com.alibaba.fastjson2.JSON;
|
|
|
|
+import com.slibra.business.domain.CAgent;
|
|
import com.slibra.business.domain.City;
|
|
import com.slibra.business.domain.City;
|
|
import com.slibra.business.domain.TCallRecord;
|
|
import com.slibra.business.domain.TCallRecord;
|
|
import com.slibra.business.domain.TPumpingStationNeighbourhoodNumber;
|
|
import com.slibra.business.domain.TPumpingStationNeighbourhoodNumber;
|
|
@@ -21,6 +22,7 @@ import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
+import java.util.HashMap;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -44,8 +46,8 @@ public class FrontController extends BaseController {
|
|
@Autowired
|
|
@Autowired
|
|
private ITCallRecordService itCallRecordService;
|
|
private ITCallRecordService itCallRecordService;
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private CAgentMapper cAgentMapper;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -87,6 +89,20 @@ public class FrontController extends BaseController {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 获取某个用户的坐席的outId信息
|
|
|
|
+ * 2024年11月25日17:56:32 配置坐席和用户的逻辑调整,不再放到用户里
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/getSeatsByUserId")
|
|
|
|
+ public R<HashMap<String, Object>> getSeatsByUserId(Long userId){
|
|
|
|
+ log.info("进入了 获取某个用户的坐席的outId信息 接口");
|
|
|
|
+ return R.ok(this.cAgentMapper.getSeatsByUserId(userId));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
// /**
|
|
// /**
|
|
// * 获取大屏的实时数据 + 统计数据
|
|
// * 获取大屏的实时数据 + 统计数据
|