预结算单金额2

This commit is contained in:
gong
2026-03-28 16:42:32 +08:00
parent 73186ac88f
commit 5ee4c22001

View File

@@ -174,7 +174,7 @@ public class YxyPrinter extends PrinterHandler implements PrinterImpl {
printInfoDTO.setOriginalAmount((orderInfo.getOriginAmount().add(orderInfo.getSeatAmount()).add(orderInfo.getPackFee())).toPlainString());
if (isPre) {
if (orderInfo.getPlaceNum() > 1) {
if (orderInfo.getPlaceNum() == 1) {
BigDecimal refundAmount = BigDecimal.ZERO;
for (OrderDetail orderDetail : detailList) {
refundAmount = refundAmount.add(orderDetail.getReturnAmount());