|
|
@@ -460,7 +460,7 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
for (int j = 0; j < prices1.size(); j++) {
|
|
|
GoodsQtyPrice price = prices1.get(j);
|
|
|
if(j == 0) {
|
|
|
- if(NumberUtil.compare(price.getEnd(), DoubleConstant.minReserve) > 0) {
|
|
|
+ if(NumberUtil.compare(price.getEnd(), DoubleConstant.minReserve) > -1) {
|
|
|
price.setStart(DoubleConstant.minReserve);
|
|
|
prices2.add(price);
|
|
|
}
|
|
|
@@ -685,7 +685,7 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
Double end = Double.valueOf(endQtyCellValue.toString());
|
|
|
GoodsQtyPrice qtyPrice = new GoodsQtyPrice();
|
|
|
// 分段结束值 与最小库存比较
|
|
|
- if (NumberUtil.compare(end, DoubleConstant.minReserve) < 1) {
|
|
|
+ if (NumberUtil.compare(end, DoubleConstant.minReserve) < 0) {
|
|
|
return ;
|
|
|
}
|
|
|
qtyPrice.setEnd(end);
|