Bläddra i källkod

通过用户ID查询通话记录的时候 不仅要查询是他接的,还要把转接给他的也返回

王苗苗 2 månader sedan
förälder
incheckning
91bfc71908
2 ändrade filer med 1 tillägg och 1 borttagningar
  1. BIN
      .DS_Store
  2. 1 1
      slibra-system/src/main/resources/mapper/business/TCallRecordMapper.xml

BIN
.DS_Store


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

@@ -144,7 +144,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             1 = 1
             <if test="sessionId != null  and sessionId != ''"> and session_id = #{sessionId}</if>
             <if test="type != null "> and type = #{type}</if>
-            <if test="userId != null "> and user_id = #{userId}</if>
+            <if test="userId != null "> and (user_id = #{userId} or transfer_user_id = #{userId})</if>
             <if test="userName != null  and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
             <if test="serviceCategory != null "> and service_category = #{serviceCategory}</if>
             <if test="timeBegin != null "> and time_begin &gt;= #{timeBegin}</if>