修复售后单同步BUG

20230922-ljl-fixBug
wangchaoxu 1 year ago
parent 5d4f6c9ea6
commit d6b3a813ab

@ -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();

Loading…
Cancel
Save