Browse Source

统计人工客服统计接口的时候 呼入(今日和累计)统计除了自己的,把转接的也查询出来

王苗苗 3 months ago
parent
commit
d875fd6914

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

@@ -394,7 +394,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             1 = 1
           AND del_flag = 0
           AND category = #{category}
-          AND user_id = #{userId}
+          <!-- AND user_id = #{userId} -->
+        AND (user_id = #{userId} or transfer_user_id = #{userId})
         <if test="date != null "> and DATE_FORMAT(time_begin, '%Y-%m-%d') = #{date} </if>
     </select>