From bf86339c4e35c59deb007ed33a896bff03ba1d5e Mon Sep 17 00:00:00 2001 From: qiankanghui <11284155+qian-kanghui@user.noreply.gitee.com> Date: Mon, 12 Jan 2026 11:02:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(srm):=20=E4=BF=AE=E5=A4=8D=E4=BE=9B?= =?UTF-8?q?=E5=BA=94=E5=95=86=E6=9B=B4=E6=96=B0=E9=80=BB=E8=BE=91=E5=B9=B6?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AD=97=E6=AE=B5=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除站点字段的更新逻辑 - 删除创建日期、创建人、更新日期、更新人字段的更新逻辑 - 修复税务代码字段名大小写问题 - 添加ABC分类和采购人员字段支持 - 调整货币、付款条件、交货条件等字段顺序 - 添加调试信息输出更新ID - 统一字段命名规范为小写驼峰格式 --- .../service/impl/SrmSupplierServiceImpl.java | 1 + .../mapper/srm/SrmSupplierMapper.xml | 99 +++++++------------ 2 files changed, 37 insertions(+), 63 deletions(-) diff --git a/src/main/java/com/xujie/modules/srm/service/impl/SrmSupplierServiceImpl.java b/src/main/java/com/xujie/modules/srm/service/impl/SrmSupplierServiceImpl.java index 98a3057..deade64 100644 --- a/src/main/java/com/xujie/modules/srm/service/impl/SrmSupplierServiceImpl.java +++ b/src/main/java/com/xujie/modules/srm/service/impl/SrmSupplierServiceImpl.java @@ -259,6 +259,7 @@ public class SrmSupplierServiceImpl extends ServiceImpl UPDATE srm_supplier - - site = #{site}, - supplier_no = #{supplierNo}, @@ -353,95 +350,71 @@ supplier_group = #{supplierGroup}, - - create_date = #{createDate}, - - - create_by = #{createBy}, - - - update_date = #{updateDate}, - - - update_by = #{updateBy}, + + active = #{active}, supplier_doc_type = #{supplierDocType}, - TaxCode = #{taxCode}, - - - tax = #{tax}, - - - FaxNo = #{faxNo}, - - - PhoneNo = #{phoneNo}, - - - PhoneNo2 = #{phoneNo2}, - - - PhoneNo3 = #{phoneNo3}, - - - Contact = #{contact}, - - - Address = #{address}, - - - PaymentTerm = #{paymentTerm}, + taxCode = #{taxCode}, - - DeliveryTerm = #{deliveryTerm}, - - - Buyer = #{buyer}, + + abc = #{abc}, - SourcingStaff = #{sourcingstaff}, + sourcingStaff = #{sourcingstaff}, - Currency = #{currency}, + currency = #{currency}, - - ABC = #{abc}, + + paymentTerm = #{paymentTerm}, - - Active = #{active}, + + deliveryTerm = #{deliveryTerm}, - - BankName = #{bankName}, + + phoneNo = #{phoneNo}, - - BankAccount = #{bankAccount}, + + phoneNo2 = #{phoneNo2}, - - TaxNo = #{taxNo}, + + phoneNo3 = #{phoneNo3}, - Email = #{email}, + email = #{email}, - Email2 = #{email2}, + email2 = #{email2}, + + + faxNo = #{faxNo}, - Other_contact1 = #{otherContact1}, + otherContact1 = #{otherContact1}, - Other_contact2 = #{otherContact2}, + otherContact2 = #{otherContact2}, - Other_contact3 = #{otherContact3}, + otherContact3 = #{otherContact3}, + + + bankName = #{bankName}, + + + bankAccount = #{bankAccount}, + + + address = #{address}, - Memo = #{memo} + memo = #{memo}, - WHERE id = #{id} + WHERE id = #{id}