fix: 会员修改接口修改
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user