From d6b3a813ab8d7a17db3d6591687b5a9d29fe5fa4 Mon Sep 17 00:00:00 2001 From: wangchaoxu Date: Fri, 15 Sep 2023 23:01:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=94=AE=E5=90=8E=E5=8D=95?= =?UTF-8?q?=E5=90=8C=E6=AD=A5BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ms/api/service/impl/AfterSaleServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ms-biz/src/main/java/com/ms/api/service/impl/AfterSaleServiceImpl.java b/ms-biz/src/main/java/com/ms/api/service/impl/AfterSaleServiceImpl.java index a761ac37..3e9cf11c 100644 --- a/ms-biz/src/main/java/com/ms/api/service/impl/AfterSaleServiceImpl.java +++ b/ms-biz/src/main/java/com/ms/api/service/impl/AfterSaleServiceImpl.java @@ -242,7 +242,7 @@ public class AfterSaleServiceImpl implements AfterSaleService { arbitrateUpdateData.setGmtCreate(new Date()); aftersaleArbitrateMapper.insert(arbitrateUpdateData); } else { - aftersaleArbitrateMapper.updateByPrimaryKey(arbitrateUpdateData); + aftersaleArbitrateMapper.updateByPrimaryKeySelective(arbitrateUpdateData); } } if (ObjectUtil.isNotNull(priceProtectionDetailUpdateData)) { @@ -286,7 +286,7 @@ public class AfterSaleServiceImpl implements AfterSaleService { aftersaleUpdateData.setGmtCreate(new Date()); afterSaleMapper.insert(aftersaleUpdateData); } else { - afterSaleMapper.updateByPrimaryKey(aftersaleUpdateData); + afterSaleMapper.updateByPrimaryKeySelective(aftersaleUpdateData); } } return ApiResult.ok();