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},