You've already forked FrameTour-BE
调整
This commit is contained in:
@ -52,7 +52,7 @@ public class DynamicTaskGenerator {
|
||||
for (ScenicRespVO scenic : scenicList) {
|
||||
log.info("定时任务执行,当前景区:{}", scenic.getName());
|
||||
ScenicConfigEntity scenicConfig = scenicMapper.getConfig(scenic.getId());
|
||||
if (scenicConfig == null || 2 == scenicConfig.getBookRoutine()) {
|
||||
if (scenicConfig == null || Integer.valueOf(2).equals(scenicConfig.getBookRoutine())) {
|
||||
log.info("当前景区{},未启用提前预约流程", scenic.getName());
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user