From 9a4eed6384dca41c97528a6e8d6d427ab73ac27a Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Tue, 10 Sep 2024 16:32:48 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E9=94=80=E5=94=AE=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=A2=E6=88=B7=E4=BF=A1=E6=81=AF=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=8E=A5=E5=8F=A3=EF=BC=9A=E6=96=B0=E5=A2=9E=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E4=BF=A1=E6=81=AF=E7=9A=84=E6=97=B6=E5=80=99=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=BB=99=E5=AE=A2=E6=88=B7=E6=A0=87=E8=AF=86=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=80=E4=B8=AA=E5=80=BC=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E4=BF=A1=E6=81=AF=E7=9A=84=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=EF=BC=9A=E4=BF=AE=E6=94=B9=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E6=A0=87=E8=AF=86=E9=94=99=E8=AF=AF=E7=9A=84=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/system/service/impl/SysCustomerServiceImpl.java | 4 ++++ .../src/main/resources/mapper/system/SysCustomerMapper.xml | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerServiceImpl.java index c18261a3..c46414ed 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerServiceImpl.java @@ -181,6 +181,10 @@ public class SysCustomerServiceImpl implements ISysCustomerService if(currency.contains("2")){ sysCustomer.setUsdFlag("1"); } + + //默认为仅报价 + sysCustomer.setCustomerSign("1"); + //添加联系人 // sysContacts.setCustomerName(sysCustomer.getCustomerContact()); // sysContacts.setCellPhone(sysCustomer.getContactNumber()); diff --git a/ruoyi-admin/src/main/resources/mapper/system/SysCustomerMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysCustomerMapper.xml index c6b20c28..d54a8406 100644 --- a/ruoyi-admin/src/main/resources/mapper/system/SysCustomerMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/system/SysCustomerMapper.xml @@ -223,6 +223,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" rmb_flag, usd_flag cancel_remark, + customer_sign, #{enterpriseCode}, @@ -278,6 +279,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{rmbFlag}, #{usdFlag} #{cancelRemark}, + #{customerSign} @@ -325,7 +327,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" use_status = #{useStatus}, identifying_people = #{identifyingPeople}, customer_remarks = #{customerRemarks}, - customer_sign = #{customer_sign}, + customer_sign = #{customerSign}, update_by = #{updateBy}, update_time = #{updateTime}, instance_id = #{instanceId},