1.代客下单 存单返回备注内容

This commit is contained in:
2024-08-23 17:48:36 +08:00
parent f9931b50ea
commit 29ccf35e5f
3 changed files with 6 additions and 2 deletions

View File

@@ -1004,6 +1004,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
TbCashierCart cashierCart = new TbCashierCart();
cashierCart.setStatus(pendingDTO.getIsPending() ? "refund" : "create");
cashierCart.setPendingAt(pendingDTO.getIsPending() ? DateUtil.current() : cashierCart.getPendingAt());
cashierCartMapper.update(cashierCart, new LambdaUpdateWrapper<TbCashierCart>()
.eq(TbCashierCart::getOrderId, orderId));