|
@@ -39,13 +39,26 @@ public class GLPPWXGQueryAdd {
|
|
GLPPWXGQueryAddService glppwxgQueryAddService;
|
|
GLPPWXGQueryAddService glppwxgQueryAddService;
|
|
|
|
|
|
|
|
|
|
|
|
+ @Scheduled(fixedDelayString = "${zjzxx}")
|
|
|
|
+ public void process() throws Exception {
|
|
|
|
+
|
|
|
|
+ wxgQueryAddCertInfo();
|
|
|
|
+
|
|
|
|
+ wxgQueryAddCategory();
|
|
|
|
+
|
|
|
|
+ wxgQueryAddWXGInfo();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 从格力总部同步师傅的证件照 只用来新增
|
|
* 从格力总部同步师傅的证件照 只用来新增
|
|
* 师傅状态离职不同步
|
|
* 师傅状态离职不同步
|
|
* 师傅在平台中不存在不同步
|
|
* 师傅在平台中不存在不同步
|
|
* 已同步过的不再同步
|
|
* 已同步过的不再同步
|
|
*/
|
|
*/
|
|
- @Scheduled(fixedDelayString = "${zjzxx}")
|
|
|
|
public void wxgQueryAddCertInfo() throws Exception {
|
|
public void wxgQueryAddCertInfo() throws Exception {
|
|
if (zjzxxc.equals(TaskConfigEnum.FALSE.getCode())){
|
|
if (zjzxxc.equals(TaskConfigEnum.FALSE.getCode())){
|
|
return;
|
|
return;
|
|
@@ -64,7 +77,6 @@ public class GLPPWXGQueryAdd {
|
|
/**
|
|
/**
|
|
* 新增 师傅服务类目信息 这里只做新增(只新增从格力总部过来的师傅服务的类目信息)
|
|
* 新增 师傅服务类目信息 这里只做新增(只新增从格力总部过来的师傅服务的类目信息)
|
|
*/
|
|
*/
|
|
- @Scheduled(fixedDelayString = "${lmxx}")
|
|
|
|
public void wxgQueryAddCategory() throws Exception {
|
|
public void wxgQueryAddCategory() throws Exception {
|
|
if (lmxxc.equals(TaskConfigEnum.FALSE.getCode())){
|
|
if (lmxxc.equals(TaskConfigEnum.FALSE.getCode())){
|
|
return;
|
|
return;
|
|
@@ -83,7 +95,6 @@ public class GLPPWXGQueryAdd {
|
|
/**
|
|
/**
|
|
* 新增师傅地理位置 不再执行 由 wxgQueryAddWXGInfo 来完成
|
|
* 新增师傅地理位置 不再执行 由 wxgQueryAddWXGInfo 来完成
|
|
*/
|
|
*/
|
|
- @Scheduled(fixedDelayString = "${wxgwz}")
|
|
|
|
public void wxgQueryAdd() throws Exception {
|
|
public void wxgQueryAdd() throws Exception {
|
|
if (wxgwzc.equals(TaskConfigEnum.FALSE.getCode())){
|
|
if (wxgwzc.equals(TaskConfigEnum.FALSE.getCode())){
|
|
return;
|
|
return;
|
|
@@ -102,7 +113,6 @@ public class GLPPWXGQueryAdd {
|
|
/**
|
|
/**
|
|
* 新增格力网点维修工数据
|
|
* 新增格力网点维修工数据
|
|
*/
|
|
*/
|
|
- @Scheduled(fixedDelayString = "${wxgwzt}")
|
|
|
|
public void wxgQueryAddWXGInfo() throws Exception {
|
|
public void wxgQueryAddWXGInfo() throws Exception {
|
|
if (wxgwztc.equals(TaskConfigEnum.FALSE.getCode())){
|
|
if (wxgwztc.equals(TaskConfigEnum.FALSE.getCode())){
|
|
return;
|
|
return;
|