fix: 退款修改

This commit is contained in:
张松
2024-12-20 10:45:25 +08:00
parent cf8e3644a3
commit 096b02260b

View File

@@ -3025,6 +3025,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
if (remainNum.compareTo(BigDecimal.ZERO) <= 0) {
returnAmount = orderDetail.getPriceAmount();
packAMount = orderDetail.getPackAmount();
currentDetailAMount = orderDetail.getPriceAmount();
} else {
currentDetailAMount = orderDetail.getPriceAmount()
.divide(orderDetail.getNum(), 8, RoundingMode.HALF_UP)