瀏覽代碼

统计ai机器人客服电话里筛选 增加为空或者为null的数据

王苗苗 2 月之前
父節點
當前提交
1a98c280d8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      slibra-system/src/main/resources/mapper/business/TCallRecordMapper.xml

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

@@ -258,7 +258,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         t_call_record
         WHERE
         1 = 1 AND del_flag = 0
-        <if test="businessType == 1 "> and category = 0 and type = 1 and bussiness_type != '不体验AI服务' </if>
+        <if test="businessType == 1 "> and category = 0 and type = 1 and (bussiness_type != '不体验AI服务' or bussiness_type = '' or bussiness_type is null) </if>
         <if test="businessType == 0 "> and category = 0 and type = 1 and bussiness_type = '不体验AI服务'</if>
         <if test="businessType == 2 "> and category = 1 and type = 2</if>
     </select>