From f569e2257372a2f940aace9ad151fd758196eb9a Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期六, 13 六月 2026 14:34:42 +0800
Subject: [PATCH] 修改客户,销售,协同,报价,质量
---
src/main/resources/mapper/basic/CustomerFollowUpMapper.xml | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/basic/CustomerFollowUpMapper.xml b/src/main/resources/mapper/basic/CustomerFollowUpMapper.xml
new file mode 100644
index 0000000..b8b95a5
--- /dev/null
+++ b/src/main/resources/mapper/basic/CustomerFollowUpMapper.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.basic.mapper.CustomerFollowUpMapper">
+
+ <select id="selectFollowUpExportList" resultType="com.ruoyi.basic.vo.CustomerFollowUpExportVo">
+ select
+ c.customer_name as customerName,
+ c.customer_type as customerType,
+ c.contact_person as contactPerson,
+ c.contact_phone as contactPhone,
+ c.maintainer as maintainer,
+ f.follow_up_method as followUpMethod,
+ f.follow_up_level as followUpLevel,
+ f.follow_up_time as followUpTime,
+ f.follower_user_name as followerUserName,
+ f.content as content
+ from customer_follow_up f
+ left join customer c on f.customer_id = c.id
+ <where>
+ <if test="customerName != null and customerName != ''">
+ and c.customer_name like concat('%', #{customerName}, '%')
+ </if>
+ <if test="customerType != null and customerType != ''">
+ and c.customer_type = #{customerType}
+ </if>
+ </where>
+ order by c.id desc, f.follow_up_time desc
+ </select>
+
+</mapper>
--
Gitblit v1.9.3