From a40e2a665a077625deb18560ba5a02a303049374 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期五, 08 五月 2026 13:32:48 +0800
Subject: [PATCH] feat: 新增车间管理模块的基础功能
---
src/main/resources/mapper/basic/CustomerContactMapper.xml | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/mapper/basic/CustomerContactMapper.xml b/src/main/resources/mapper/basic/CustomerContactMapper.xml
index 1c2f582..8a184e4 100644
--- a/src/main/resources/mapper/basic/CustomerContactMapper.xml
+++ b/src/main/resources/mapper/basic/CustomerContactMapper.xml
@@ -5,8 +5,8 @@
<!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 -->
<resultMap id="BaseResultMap" type="com.ruoyi.basic.pojo.CustomerContact">
<id column="id" property="id" />
- <result column="contact_name" property="contactName" />
- <result column="phone" property="phone" />
+ <result column="contact_person" property="contactPerson" />
+ <result column="contact_phone" property="contactPhone" />
<result column="customer_id" property="customerId" />
<result column="dept_id" property="deptId" />
<result column="create_user" property="createUser" />
@@ -27,11 +27,11 @@
FROM customer_contact cc
<where>
cc.del_flag = 0
- <if test="customerContactDto.contactName != null and customerContactDto.contactName !=''">
- and cc.contact_name = #{customerContactDto.contactName}
+ <if test="customerContactDto.contactPerson != null and customerContactDto.contactPerson !=''">
+ and cc.contact_person = #{customerContactDto.contactPerson}
</if>
- <if test="customerContactDto.phone != null and customerContactDto.phone !=''">
- and cc.phone = #{customerContactDto.phone}
+ <if test="customerContactDto.contactPhone != null and customerContactDto.contactPhone !=''">
+ and cc.contact_phone = #{customerContactDto.contactPhone}
</if>
</where>
</select>
--
Gitblit v1.9.3