zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/CircleRuleServiceImpl.java
@@ -26,13 +26,11 @@ Integer currentValue = circleRule.getCurrentValue(); Integer startValue = circleRule.getStartValue(); Integer targetValue = circleRule.getTargetValue(); if (currentValue > targetValue) { currentValue = startValue; }else { currentValue += 1; } circleRule.setCurrentValue(currentValue); circleRule.setCurrentValue(currentValue + 1); if (circleRule.getCurrentValue() > targetValue) { circleRule.setCurrentValue(startValue); } this.updateById(circleRule); return currentValue; }