From eb1f72a783f9ca7e1dc6eefc0a33f11eca0de6b9 Mon Sep 17 00:00:00 2001
From: hp <2969694837@qq.com>
Date: Wed, 30 Nov 2022 17:32:23 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E4=BF=AE=E6=94=B9=E6=9F=A5?=
=?UTF-8?q?=E8=AF=A2=E6=9D=A1=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../anrui/crm/api/crmcustomertemp/CrmCustomerTempQuery.java | 5 +++++
.../crm/biz/crmcustomertemp/CrmCustomerTempService.java | 4 ++++
2 files changed, 9 insertions(+)
diff --git a/anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/CrmCustomerTempQuery.java b/anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/CrmCustomerTempQuery.java
index 7e6c26bd27..1bfb607801 100644
--- a/anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/CrmCustomerTempQuery.java
+++ b/anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/CrmCustomerTempQuery.java
@@ -7,6 +7,8 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
+import java.util.List;
+
/**
* Project: anrui-crm(客户管理)
* File: CrmCustomerTempQuery.java
@@ -51,4 +53,7 @@ public class CrmCustomerTempQuery implements Query {
@ApiModelProperty("用户sid")
private String userSid;
+ @ApiModelProperty("客户sid")
+ private List customerSidList;
+
}
diff --git a/anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempService.java b/anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempService.java
index 7b370d07c5..2ca57a4cfa 100644
--- a/anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempService.java
+++ b/anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempService.java
@@ -144,6 +144,10 @@ public class CrmCustomerTempService extends MybatisBaseService 0) {
+ qw.notIn("cct.sid", query.getCustomerSidList());
+ }
String remindStartDay = query.getRemindStartDay();
String remindEndDay = query.getRemindEndDay();
qw.apply(StringUtils.isNotBlank(remindStartDay), "date_format (cct.remind_day,'%Y-%m-%d') >= date_format('" + remindStartDay + "','%Y-%m-%d')").