|
@@ -1358,11 +1358,21 @@ public class GLPPWXGQueryAddServiceImpl implements GLPPWXGQueryAddService {
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
+ if (i.getBrandWorkerId().equals("294773") || i.getBrandWorkerId().equals("990003185")){
|
|
|
+ log.info("workerBrandAccount {}",workerBrandAccount);
|
|
|
+ }
|
|
|
+
|
|
|
// 参数 获取网点维修工信息
|
|
|
getParameter(wxgDownload.getWdno(), wxgDownload.getWxgno(), req);
|
|
|
try {
|
|
|
// 格力总部查询工程师信息
|
|
|
GreeResponseHelper response = greeLogic.greePost(wdqyapi, JSONObject.toJSONString(req), publicService.getCompanyId(wxgDownload.getWdno()));
|
|
|
+
|
|
|
+ if (i.getBrandWorkerId().equals("294773") || i.getBrandWorkerId().equals("990003185")){
|
|
|
+ log.info("response {}",JSONObject.toJSONString(response));
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
if (response.getStatus() == 200){
|
|
|
WxgQueryInfo resultDatax = JSONObject.parseObject(response.getData().toString(), WxgQueryInfo.class);
|
|
|
// 无信息不处理
|
|
@@ -1387,10 +1397,17 @@ public class GLPPWXGQueryAddServiceImpl implements GLPPWXGQueryAddService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
// 同步-师傅服务的类目信息 无则插入
|
|
|
getServiceCategory(wvos, wscList, wscdList, sysDict, wxgDownload, wxgCategoryTypeRecs,
|
|
|
sysDictRefMap, workerBrandAccount, workerServiceCategoryDetailList);
|
|
|
|
|
|
+ if (i.getBrandWorkerId().equals("294773") || i.getBrandWorkerId().equals("990003185")){
|
|
|
+ log.info("wscList {}",JSONObject.toJSONString(wscList));
|
|
|
+ log.info("wscdList {}",JSONObject.toJSONString(wscdList));
|
|
|
+ }
|
|
|
+
|
|
|
// 新增或修改(师傅服务的类目)
|
|
|
addDataCategory(wscList, wscdList);
|
|
|
|