浏览代码

1、做配置,首次用户回复自动打标签 与 进线自动打标签

yfh 4 天之前
父节点
当前提交
4dc3fca2f8

+ 2 - 2
fs-service/src/main/java/com/fs/qw/domain/QwAutoTags.java

@@ -18,8 +18,8 @@ public class QwAutoTags extends BaseEntity
     /** $column.columnComment */
     private Long id;
 
-    /** 组别 1关键词打标签 2客户入群行为打标签 3分时段打标签 */
-    @Excel(name = "组别 1关键词打标签 2客户入群行为打标签 3分时段打标签")
+    /** 组别 1关键词打标签 2客户入群行为打标签 3分时段打标签 4自动回复打标签*/
+    @Excel(name = "组别 1关键词打标签 2客户入群行为打标签 3分时段打标签 4回复消息打标签")
     private Long type;
 
     /** 创建人 */

+ 1 - 0
fs-service/src/main/java/com/fs/qw/mapper/QwAutoTagsMapper.java

@@ -113,6 +113,7 @@ public interface QwAutoTagsMapper
             "            <if test=\"isApply != null \"> and qat.is_apply = #{isApply}</if> " +
             "            <if test=\"companyId != null \"> and qat.company_id = #{companyId}</if> "+
             "            <if test=\"corpId != null \"> and qat.corp_id = #{corpId}</if> "+
+            "            <if test=\"isType != null \"> and (qat.type = 3 or  qat.type = 4) </if> "+
         "</where> " +
         "GROUP BY qat.id " +
         "ORDER BY qat.create_time DESC " +

+ 7 - 2
fs-service/src/main/java/com/fs/qw/param/QwAutoTagsParam.java

@@ -9,8 +9,8 @@ public class QwAutoTagsParam {
     /** $column.columnComment */
     private Long id;
 
-    /** 组别 1关键词打标签 2客户入群行为打标签 3分时段打标签 */
-    @Excel(name = "组别 1关键词打标签 2客户入群行为打标签 3分时段打标签")
+    /** 组别 1关键词打标签 2客户入群行为打标签 3分时段打标签 4自动回复打标签 */
+    @Excel(name = "组别 1关键词打标签 2客户入群行为打标签 3分时段打标签 4自动回复打标签")
     private Long type;
 
     /** 创建人 */
@@ -53,4 +53,9 @@ public class QwAutoTagsParam {
     /** 公司员工id */
     @Excel(name = "公司员工id")
     private Long companyUserId;
+
+    /**
+     * 是否查询分时段打标签 和 自动回复打标签 0 是 默认null
+     */
+    private String isType;
 }