fix:分割商品未保存detail修复

This commit is contained in:
张松
2024-11-12 10:31:39 +08:00
parent 3b27c1c591
commit e7d63eed46

View File

@@ -2032,7 +2032,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
orderInfo.setCouponInfoList(JSONObject.toJSONString(couponInfo)); orderInfo.setCouponInfoList(JSONObject.toJSONString(couponInfo));
// 修改订单detail // 修改订单detail
mpOrderDetailService.updateBatchById(priceDTO.getOrderDetailList()); mpOrderDetailService.saveOrUpdateBatch(priceDTO.getOrderDetailList());
return orderInfo.getOrderAmount(); return orderInfo.getOrderAmount();
} }