fix: 会员修改接口修改
This commit is contained in:
parent
5406aedb76
commit
b45709cca1
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue