|
@@ -16,6 +16,7 @@ import com.zfire.jiasm.syncdata.request.ZJInfo;
|
|
|
import com.zfire.jiasm.syncdata.response.WangdianWxgVos;
|
|
|
import com.zfire.jiasm.syncdata.response.WxgQueryInfo;
|
|
|
import com.zfire.jiasm.syncdata.service.GLPPWXGQueryUpdateService;
|
|
|
+import com.zfire.jiasm.syncdata.service.PublicService;
|
|
|
import com.zfire.jiasm.syncdata.utils.oss.OSSUtil;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
@@ -56,6 +57,8 @@ public class GLPPWXGQueryUpdateServiceImpl implements GLPPWXGQueryUpdateService
|
|
|
SysDictRefService sysDictRefService;
|
|
|
@Resource
|
|
|
SysDictService sysDictService;
|
|
|
+ @Resource
|
|
|
+ PublicService publicService;
|
|
|
|
|
|
|
|
|
|
|
@@ -121,7 +124,7 @@ public class GLPPWXGQueryUpdateServiceImpl implements GLPPWXGQueryUpdateService
|
|
|
// 参数
|
|
|
getParameter(wxg.getWdno(), wxg.getWxgno(), req);
|
|
|
// 格力总部查询工程师信息
|
|
|
- GreeResponseHelper response = greeLogic.greePost(wdqyapi, JSONObject.toJSONString(req), 1);
|
|
|
+ GreeResponseHelper response = greeLogic.greePost(wdqyapi, JSONObject.toJSONString(req), publicService.getCompanyId(wxg.getWdno()));
|
|
|
if (response.getStatus() == 200){
|
|
|
WxgQueryInfo resultDatax = JSONObject.parseObject(response.getData().toString(), WxgQueryInfo.class);
|
|
|
// 无数据不处理
|