默认值 0

This commit is contained in:
2026-03-30 15:55:27 +08:00
parent cb869ea18f
commit 470f8884f5

View File

@@ -1451,6 +1451,7 @@ public class OrderInfoCustomServiceImpl implements OrderInfoCustomService {
orderInfo.setTableCode(param.getTableCode());
orderInfo.setPlaceNum(param.getPlaceNum());
orderInfo.setOriginAmount(param.getOriginAmount());
orderInfo.setDiscountAllAmount(BigDecimal.ZERO);
if (param.getOrderAmount() != null && param.getOrderAmount().compareTo(BigDecimal.ZERO) >= 0) {
orderInfo.setOrderAmount(param.getOrderAmount());
} else {