|
|
@ -165,6 +165,16 @@ public class DirectConnectController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/udiwms/relCode/checkCode")
|
|
|
|
|
|
|
|
public BaseResponse checkCode(@RequestBody List<String> codeList) {
|
|
|
|
|
|
|
|
String result = UHttpClient.postJson(getSpmsUrl() + "/udiwms/relCode/checkCode", codeList, getHeaders());
|
|
|
|
|
|
|
|
BaseResponse<List> response =
|
|
|
|
|
|
|
|
JSONObject.parseObject(result, new TypeReference<BaseResponse<List>>() {
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
return response;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/spms/udchs/codeRe/update")
|
|
|
|
@PostMapping("/spms/udchs/codeRe/update")
|
|
|
|
public BaseResponse updateCodeRelDetail(@RequestBody CodeRel codeRel) {
|
|
|
|
public BaseResponse updateCodeRelDetail(@RequestBody CodeRel codeRel) {
|
|
|
|
String result = UHttpClient.postJson(getSpmsUrl() + "/spms/udchs/codeRe/update", codeRel, getHeaders());
|
|
|
|
String result = UHttpClient.postJson(getSpmsUrl() + "/spms/udchs/codeRe/update", codeRel, getHeaders());
|
|
|
|