Commit 1f49eda3 by lijingjing

限制,大于等于;

parent 19bac523
......@@ -120,7 +120,7 @@ public class ItemComparisonServiceImpl extends BaseServiceImpl<ItemComparisonMap
item.setDiffValue(difVal.abs().toPlainString());
BigDecimal limitValue = new BigDecimal(item.getLimitValue());
// 差值与限定值相比,大于0需要重取
if (difVal.abs().compareTo(limitValue) > 0) {
if (difVal.abs().compareTo(limitValue) >= 0) {
item.setReclaim(true);
}
} catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment