diff --git a/anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/AppCrmCustomerTempQuery.java b/anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/AppCrmCustomerTempQuery.java index 0082e1b20e..9952c78458 100644 --- a/anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/AppCrmCustomerTempQuery.java +++ b/anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/AppCrmCustomerTempQuery.java @@ -35,7 +35,7 @@ public class AppCrmCustomerTempQuery implements Query { @ApiModelProperty("客户分类key") private String customerClassKey; - @ApiModelProperty("组织机构sid") - private String orgPath; +// @ApiModelProperty("组织机构sid") +// private String orgPath; } diff --git a/anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempRest.java b/anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempRest.java index b6479cf73f..ea8c214f80 100644 --- a/anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempRest.java +++ b/anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempRest.java @@ -191,11 +191,6 @@ public class CrmCustomerTempRest implements CrmCustomerTempFeign { PagerVo page = new PagerVo<>(); IPage iPage = crmCustomerTempService.getCustomerTempListByUserSid(pagerQuery); List records = iPage.getRecords(); - for (AppCrmCustomerTempVo record : records) { - if ("0".equals(record.getIsOnRemindkey())) { - record.setRemind_day("未设置提醒"); - } - } PagerVo pagerVo = PagerUtil.pageToVo(iPage, page); // for (AppCrmCustomerTempVo record : pagerVo.getRecords()) { // String sid = record.getSid(); 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 b206dc150a..5d2a413123 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 @@ -481,7 +481,7 @@ public class CrmCustomerTempService extends MybatisBaseService qw = new QueryWrapper<>(); if (params != null) { @@ -490,13 +490,13 @@ public class CrmCustomerTempService extends MybatisBaseService iPage = baseMapper.getCustomerTempListByUserSid(page, qw); for (AppCrmCustomerTempVo record : iPage.getRecords()) { + if (record.getIsOnRemindkey() == 0) { + record.setRemind_day("未设置提醒"); + } String urlPrefix = fileUploadComponent.getUrlPrefix(); String customerPhoto = record.getCustomerPhoto(); if (customerPhoto != null) {