|
|
@@ -1357,7 +1357,7 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
if (RegexConstant.isNumber(firstValue.toString())) {
|
|
|
Double cellPrice = Double.valueOf(firstValue.toString());
|
|
|
if (validatePrice(cellPrice)) {
|
|
|
- GoodsQtyPrice qtyPrice = getOneQtyPrice(aProduct.getMinBuyQty(), DoubleConstant.maxMinPackageQty,
|
|
|
+ GoodsQtyPrice qtyPrice = getOneQtyPrice(aProduct.getMinBuyQty(), DoubleConstant.maxReserve,
|
|
|
cellPrice, aProduct.getRmbTaxRate(), aProduct.getCurrency());
|
|
|
qtyPriceList.add(qtyPrice);
|
|
|
} else {
|
|
|
@@ -1413,7 +1413,7 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
if (start == null || lastEnd == null) {
|
|
|
return false;
|
|
|
}
|
|
|
- return start.compareTo(lastEnd) > 0 && start.compareTo(DoubleConstant.maxMinPackageQty) <= 0;
|
|
|
+ return start.compareTo(lastEnd) > 0 && start.compareTo(DoubleConstant.maxReserve) <= 0;
|
|
|
}
|
|
|
|
|
|
/**
|