|
@@ -1051,7 +1051,6 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
}
|
|
}
|
|
|
accounts.forEach(account -> {
|
|
accounts.forEach(account -> {
|
|
|
try {
|
|
try {
|
|
|
- String taskId = groupsRelationNetflixService.createNetflixAccountStatusTask(account);
|
|
|
|
|
AccountNetflixState exist = accountNetflixStateMapper.selectOne(Wrappers.lambdaQuery(AccountNetflixState.class)
|
|
AccountNetflixState exist = accountNetflixStateMapper.selectOne(Wrappers.lambdaQuery(AccountNetflixState.class)
|
|
|
.eq(AccountNetflixState::getAccount, account.getAccount())
|
|
.eq(AccountNetflixState::getAccount, account.getAccount())
|
|
|
.lt(AccountNetflixState::getCreatedTime, DateUtil.parse("2024-11-11 17:52:00"))
|
|
.lt(AccountNetflixState::getCreatedTime, DateUtil.parse("2024-11-11 17:52:00"))
|
|
@@ -1059,6 +1058,7 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
if (exist != null) {
|
|
if (exist != null) {
|
|
|
accountNetflixStateMapper.deleteById(exist.getId());
|
|
accountNetflixStateMapper.deleteById(exist.getId());
|
|
|
}
|
|
}
|
|
|
|
|
+ String taskId = groupsRelationNetflixService.createNetflixAccountStatusTask(account);
|
|
|
log.info("任务taskId:{}", taskId);
|
|
log.info("任务taskId:{}", taskId);
|
|
|
AccountNetflixState accountNetflixState = new AccountNetflixState();
|
|
AccountNetflixState accountNetflixState = new AccountNetflixState();
|
|
|
accountNetflixState.setAccount(account.getAccount());
|
|
accountNetflixState.setAccount(account.getAccount());
|