预结算单金额2
This commit is contained in:
@@ -174,7 +174,7 @@ public class YxyPrinter extends PrinterHandler implements PrinterImpl {
|
|||||||
|
|
||||||
printInfoDTO.setOriginalAmount((orderInfo.getOriginAmount().add(orderInfo.getSeatAmount()).add(orderInfo.getPackFee())).toPlainString());
|
printInfoDTO.setOriginalAmount((orderInfo.getOriginAmount().add(orderInfo.getSeatAmount()).add(orderInfo.getPackFee())).toPlainString());
|
||||||
if (isPre) {
|
if (isPre) {
|
||||||
if (orderInfo.getPlaceNum() > 1) {
|
if (orderInfo.getPlaceNum() == 1) {
|
||||||
BigDecimal refundAmount = BigDecimal.ZERO;
|
BigDecimal refundAmount = BigDecimal.ZERO;
|
||||||
for (OrderDetail orderDetail : detailList) {
|
for (OrderDetail orderDetail : detailList) {
|
||||||
refundAmount = refundAmount.add(orderDetail.getReturnAmount());
|
refundAmount = refundAmount.add(orderDetail.getReturnAmount());
|
||||||
|
|||||||
Reference in New Issue
Block a user