|
|
@@ -1100,6 +1100,15 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
String taskId = groupsRelationNetflixService.createNetflixAccountStatusTask(account, password);
|
|
|
log.info("任务taskId:{}", taskId);
|
|
|
AccountNetflixState accountNetflixState = new AccountNetflixState();
|
|
|
+ Account dbAccount = accountMapper.selectOne(Wrappers.lambdaQuery(Account.class)
|
|
|
+ .eq(Account::getAccount, account)
|
|
|
+ .eq(Account::getGoodsId, 1)
|
|
|
+ .last("limit 1"));
|
|
|
+ if (dbAccount == null) {
|
|
|
+ log.info("账号:{}不存在", account);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ password = dbAccount.getPassword();
|
|
|
accountNetflixState.setAccount(account);
|
|
|
accountNetflixState.setPassword(password);
|
|
|
accountNetflixState.setState(0);
|