修改支持备注

This commit is contained in:
2024-09-27 11:39:54 +08:00
parent a2ccfb0628
commit 5bf555c8a9
3 changed files with 31 additions and 87 deletions

View File

@@ -355,6 +355,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
tbCashierCart.setStatus("create");
tbCashierCart.setSalePrice(productSku.getSalePrice());
tbCashierCart.setTotalAmount(new BigDecimal(updateCartDTO.getNum()).multiply(productSku.getSalePrice()));
tbCashierCart.setNote(updateCartDTO.getNote());
if (tbCashierCart.getIsPack().equals("false")) {
tbCashierCart.setPackFee(BigDecimal.ZERO);
} else {