Commit 0bdff95e by huluobin

# fee

parent fb8f8b3c
......@@ -968,12 +968,12 @@ public class AutoTurnoverJob extends PointJob {
for (int i = 0; i <= turnoverDays; i++) {
if (forecastShortSupplyList.get(i).compareTo(BigDecimal.ZERO) > 0) {
if (forecastShortSupplyList.get(i).compareTo(BigDecimal.ONE) >= 0) {
days++;
if (index < 0) {
index = i;
}
if (i == turnoverDays) { //如果是最后一天
if (i - 1 == turnoverDays) { //如果是最后一天
handleForecastFluctuation(2, forecastFluctuationList, recordTime, days, index);
days = 0;
index = -1;
......
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