|
|
@@ -44,18 +44,18 @@ public class SyncThreadPool {
|
|
|
|
|
|
private final AppDao appDao;
|
|
|
|
|
|
- @Autowired
|
|
|
- private SyncUserService syncUserService;
|
|
|
+ private final SyncUserService syncUserService;
|
|
|
|
|
|
- @Autowired
|
|
|
- private SyncUserspaceService syncUserspaceService;
|
|
|
+ private final SyncUserspaceService syncUserspaceService;
|
|
|
|
|
|
@Autowired
|
|
|
- public SyncThreadPool(ExecutorService executorService, SyncLogDao syncLogDao, UserDao userDao, AppDao appDao) {
|
|
|
+ public SyncThreadPool(ExecutorService executorService, SyncLogDao syncLogDao, UserDao userDao, AppDao appDao, SyncUserService syncUserService, SyncUserspaceService syncUserspaceService) {
|
|
|
this.executorService = executorService;
|
|
|
this.syncLogDao = syncLogDao;
|
|
|
this.userDao = userDao;
|
|
|
this.appDao = appDao;
|
|
|
+ this.syncUserspaceService = syncUserspaceService;
|
|
|
+ this.syncUserService = syncUserService;
|
|
|
}
|
|
|
|
|
|
public void transferDataToOtherPlatforms(BackInfoType type, List<App> appList, JSONObject data, String message) {
|