|
|
|
@ -250,6 +250,25 @@ public class ErpBasicClient {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取 多码融合表
|
|
|
|
|
* @param codeList
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public BaseResponse<List> checkCode(List<String> codeList) {
|
|
|
|
|
String url = "https://www.udims.com/UDI_DL_Server_test" + "/udiwms/relCode/checkCode";
|
|
|
|
|
try {
|
|
|
|
|
String response = httpOkClient.uCloudPost(url, codeList);
|
|
|
|
|
BaseResponse<List> listBaseResponse =
|
|
|
|
|
JSONObject.parseObject(response, new TypeReference<BaseResponse<List>>() {
|
|
|
|
|
});
|
|
|
|
|
return listBaseResponse;
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
log.error("获取多码融合表", e);
|
|
|
|
|
return ResultVOUtils.error(500, "连接第三方系统接口服务出错");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 更新 多码融合表
|
|
|
|
|
* @param codeRel
|
|
|
|
|