fix: 会员修改接口修改

This commit is contained in:
2024-11-04 14:33:33 +08:00
parent 5406aedb76
commit b45709cca1

View File

@@ -2006,7 +2006,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
if (!isOnline) {
orderInfo.setPaidTime(DateUtil.current());
orderInfo.setPayAmount(finalAmount);
// orderInfo.setStatus("closed");
orderInfo.setStatus("closed");
if (payDTO.getDiscount() != null) {
orderInfo.setDiscountRatio(BigDecimal.valueOf(payDTO.getDiscount()));
orderInfo.setDiscountAmount(orderInfo.getAmount().subtract(finalAmount));