소스 검색

逻辑调整,获取客服列表不再从通话记录,而是从坐席记录

王苗苗 2 달 전
부모
커밋
3ed9725f63
1개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. 10 2
      slibra-system/src/main/resources/mapper/business/TCallRecordMapper.xml

+ 10 - 2
slibra-system/src/main/resources/mapper/business/TCallRecordMapper.xml

@@ -336,7 +336,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </select>
 
     <select id="selectAllPersonUserIds" resultType="com.slibra.business.res.CallUserCountInfo">
-        SELECT DISTINCT
+        <!-- SELECT DISTINCT
         user_id userId
         FROM
         t_call_record
@@ -345,7 +345,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         AND del_flag = 0
         AND user_id IS NOT NULL
         AND user_id != ''
-        and service_category = 0
+        and service_category = 0 -->
+        <!-- 2025年01月10日11:05:02,逻辑调整,获取客服列表不再从通话记录,而是从坐席记录  -->
+        SELECT DISTINCT
+        user_id userId
+        FROM
+        t_zuoxi_record
+        WHERE
+        type = 0
+        AND del_flag = 0
     </select>
 
     <select id="getStatusByUserId" resultType="java.lang.Integer">