|
@@ -20,12 +20,17 @@ import java.util.Objects;
|
|
|
@Slf4j
|
|
|
public class TaskService {
|
|
|
|
|
|
+
|
|
|
+ //@Scheduled(cron = "0 0 1 * * ?}")
|
|
|
+ //@Scheduled(cron = "0 */1 * * * ?}")
|
|
|
+
|
|
|
@Autowired
|
|
|
ZfbOldToNewService zfbOldToNewService;
|
|
|
@Value("${spring.profiles.active}")
|
|
|
private String active;
|
|
|
|
|
|
@Scheduled(cron = "0 0 0 * * ?}")
|
|
|
+ //@Scheduled(cron = "0 */1 * * * ?}")
|
|
|
public void genOldCode() {
|
|
|
Integer count = 10000;
|
|
|
log.info("task-genOldCode:{}","触发定时任务生成old-prod指房宝场景码");
|