|
|
@@ -4,6 +4,7 @@ import com.dgtly.common.utils.StringUtils;
|
|
|
import com.dgtly.sync.service.AnalysisDiyCustomerComponent;
|
|
|
import com.dgtly.sync.service.HanaOrderComponent;
|
|
|
import com.dgtly.sync.service.RelationCustomerOnlineComponent;
|
|
|
+import com.dgtly.system.service.ISysUserOrderAuthorService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
@@ -24,6 +25,8 @@ public class RyTask
|
|
|
private HanaOrderComponent hanaOrderComponent;
|
|
|
@Autowired
|
|
|
private RelationCustomerOnlineComponent relationCustomerOnlineComponent;
|
|
|
+ @Autowired
|
|
|
+ private ISysUserOrderAuthorService sysUserOrderAuthorService;
|
|
|
|
|
|
// private static RyTask ryTask;
|
|
|
// @PostConstruct
|
|
|
@@ -66,4 +69,9 @@ public class RyTask
|
|
|
public void relationCustomerOnlineSync() throws Exception {
|
|
|
relationCustomerOnlineComponent.relationCustomerOnlineSync();
|
|
|
}
|
|
|
+
|
|
|
+ /*初始化用户权限*/
|
|
|
+ public void initUserAuthor() throws Exception {
|
|
|
+ sysUserOrderAuthorService.initUserAuthor();
|
|
|
+ }
|
|
|
}
|