Commit 3818ce08 authored by shiyu's avatar shiyu

自动截拍时间

parent 276afec7
......@@ -309,6 +309,7 @@ public class SysSpecialPerformanceServiceImpl implements SysSpecialPerformanceSe
Instant itemEndInstant = specialPerformanceEndTime.toInstant().minus(Duration.ofSeconds((intervalSecond * i)));
Date itemEndTime = Date.from(itemEndInstant);
auctionConfig.setEndTime(itemEndTime);
auctionConfig.setRealEndTime(itemEndTime);
auctionConfigDao.updateByItemId(auctionConfig);
}
return Result.success();
......
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