From 173dbd52441847f53fa8116c1edd7fcab23ce0a1 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期四, 27 八月 2026 19:12:08 +0800
Subject: [PATCH] fix: 修复部门名称唯一性查询的SQL语句顺序
---
src/main/java/com/ruoyi/basic/service/impl/CustomerFollowUpServiceImpl.java | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/ruoyi/basic/service/impl/CustomerFollowUpServiceImpl.java b/src/main/java/com/ruoyi/basic/service/impl/CustomerFollowUpServiceImpl.java
index 29013d3..6170bcc 100644
--- a/src/main/java/com/ruoyi/basic/service/impl/CustomerFollowUpServiceImpl.java
+++ b/src/main/java/com/ruoyi/basic/service/impl/CustomerFollowUpServiceImpl.java
@@ -4,6 +4,7 @@
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.basic.dto.CustomerFollowUpDto;
import com.ruoyi.basic.dto.CustomerFollowUpFileDto;
+import com.ruoyi.basic.vo.CustomerFollowUpExportVo;
import com.ruoyi.basic.mapper.CustomerFollowUpMapper;
import com.ruoyi.basic.pojo.CustomerFollowUp;
import com.ruoyi.basic.pojo.CustomerFollowUpFile;
@@ -130,7 +131,7 @@
}
List<CustomerFollowUp> followUps = list(new LambdaQueryWrapper<CustomerFollowUp>()
- .eq(CustomerFollowUp::getCustomerPrivatePoolId, customerId));
+ .eq(CustomerFollowUp::getCustomerId, customerId));
if (followUps != null && !followUps.isEmpty()) {
for (CustomerFollowUp followUp : followUps) {
@@ -269,4 +270,9 @@
return dto;
}
+
+ @Override
+ public List<CustomerFollowUpExportVo> selectFollowUpExportList(String customerName, String customerType) {
+ return baseMapper.selectFollowUpExportList(customerName, customerType);
+ }
}
--
Gitblit v1.9.3