|
@@ -61,7 +61,12 @@ public class XxlJobTrigger {
|
|
|
String subAccount = jobInfo.getSubAccount();
|
|
|
List<String> accountList = new ArrayList<>();
|
|
|
if (subAccount.equals("1")) {
|
|
|
- accountList = XxlJobAdminConfig.getAdminConfig().getAccountDaoDao().getAccountList(Integer.valueOf(jobInfo.getMediaId()));
|
|
|
+ Integer mediaId = Integer.valueOf(jobInfo.getMediaId());
|
|
|
+ if (mediaId == 5) {
|
|
|
+ accountList = XxlJobAdminConfig.getAdminConfig().getAccountDaoDao().getLiveAccountList(mediaId);
|
|
|
+ } else {
|
|
|
+ accountList = XxlJobAdminConfig.getAdminConfig().getAccountDaoDao().getAccountList(mediaId);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|