订单添加支付时间
This commit is contained in:
@@ -618,6 +618,7 @@ public class TbOrderInfoServiceImpl implements TbOrderInfoService {
|
||||
return;
|
||||
}
|
||||
orderInfo.setStatus("refund");
|
||||
orderInfo.setPaidTime(cn.hutool.core.date.DateUtil.current());
|
||||
orderInfoMapper.updateById(orderInfo);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1548,6 +1548,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
||||
}
|
||||
|
||||
if (!isOnline) {
|
||||
orderInfo.setPaidTime(DateUtil.current());
|
||||
orderInfo.setPayAmount(finalAmount);
|
||||
orderInfo.setStatus("closed");
|
||||
orderInfo.setDiscountRatio(BigDecimal.valueOf(payDTO.getDiscount()));
|
||||
|
||||
Reference in New Issue
Block a user