fix: 退款修改
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user