From 67fda7b2dfbfc9e6a8d8b9472499a67906d2bad1 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期六, 09 五月 2026 18:05:22 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_浪潮_pro' into dev_浪潮_pro
---
src/main/resources/mapper/basic/BusinessOpportunityMapper.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/mapper/basic/BusinessOpportunityMapper.xml b/src/main/resources/mapper/basic/BusinessOpportunityMapper.xml
index bfbbbe0..1dbf1ae 100644
--- a/src/main/resources/mapper/basic/BusinessOpportunityMapper.xml
+++ b/src/main/resources/mapper/basic/BusinessOpportunityMapper.xml
@@ -31,19 +31,19 @@
business_opportunity bo
<where>
<if test="businessOpportunityDto.customerName != null">
- and bo.customer_name = #{businessOpportunityDto.customerName}
+ and bo.customer_name like concat('%',#{businessOpportunityDto.customerName},'%')
</if>
<if test="businessOpportunityDto.city != null">
- and bo.city = #{businessOpportunityDto.city}
+ and bo.city like concat('%',#{businessOpportunityDto.city},'%')
</if>
<if test="businessOpportunityDto.entryPerson != null">
- and bo.entry_person = #{businessOpportunityDto.entryPerson}
+ and bo.entry_person like concat('%', #{businessOpportunityDto.entryPerson},'%')
</if>
<if test="businessOpportunityDto.status != null">
and bo.status = #{businessOpportunityDto.status}
</if>
<if test="businessOpportunityDto.customerName != null">
- and bo.customer_name = #{businessOpportunityDto.customerName}
+ and bo.customer_name like concat('%',#{businessOpportunityDto.customerName},'%')
</if>
<if test="businessOpportunityDto.entryDateStart != null">
and bo.entry_date >= STR_TO_DATE(#{businessOpportunityDto.entryDateStart}, '%Y-%m-%d')
--
Gitblit v1.9.3