feat: 药品关联关系查重功能

dev_unify
chenhc 5 months ago
parent f1862398e4
commit 47efbae8e6

@ -286,6 +286,14 @@ public class SyncDelController extends BaseController {
return erpBasicClient.getCodeRelDetail(codeRel);
}
/**
*
*/
@PostMapping("/udiwms/relCode/checkCode")
public BaseResponse checkCode(@RequestBody List<String> codeList) {
return erpBasicClient.checkCode(codeList);
}
/**
*
*/

@ -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

Loading…
Cancel
Save