|
|
|
@ -79,9 +79,8 @@ public class ErpInvClient {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public BaseResponse<PageSimpleResponse<ThrInvResultResponse>> getInvSfResult(FilterInvProductRequest invProductRequest) {
|
|
|
|
|
// ThrSystemEntity basicThirdSysEntity = basicThirdSysService.selectByThirdId(invProductRequest.getThirdSys());
|
|
|
|
|
// String url = basicThirdSysEntity.getThridUrl() + invProductRequest.getThirdSysUrlValue();
|
|
|
|
|
String url = "http://192.168.0.166:9997/udiwms/erp/inv/getInvFeeResult";
|
|
|
|
|
ThrSystemEntity basicThirdSysEntity = basicThirdSysService.selectByThirdId(invProductRequest.getThirdSys());
|
|
|
|
|
String url = basicThirdSysEntity.getThridUrl() + "/udiwms/erp/inv/getInvFeeResult";
|
|
|
|
|
try {
|
|
|
|
|
String response = httpOkClient.uCloudPost(url, invProductRequest);
|
|
|
|
|
BaseResponse<PageSimpleResponse<ThrInvResultResponse>> listBaseResponse =
|
|
|
|
@ -95,9 +94,8 @@ public class ErpInvClient {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public BaseResponse<PageSimpleResponse<ThrInvResultResponse>> getInvPhResult(FilterInvProductRequest invProductRequest) {
|
|
|
|
|
// ThrSystemEntity basicThirdSysEntity = basicThirdSysService.selectByThirdId(invProductRequest.getThirdSys());
|
|
|
|
|
// String url = basicThirdSysEntity.getThridUrl() + invProductRequest.getThirdSysUrlValue();
|
|
|
|
|
String url = "http://192.168.0.166:9997/udiwms/erp/inv/getInvResult";
|
|
|
|
|
ThrSystemEntity basicThirdSysEntity = basicThirdSysService.selectByThirdId(invProductRequest.getThirdSys());
|
|
|
|
|
String url = basicThirdSysEntity.getThridUrl() + "/udiwms/erp/inv/getInvResult";
|
|
|
|
|
try {
|
|
|
|
|
String response = httpOkClient.uCloudPost(url, invProductRequest);
|
|
|
|
|
BaseResponse<PageSimpleResponse<ThrInvResultResponse>> listBaseResponse =
|
|
|
|
@ -111,9 +109,8 @@ public class ErpInvClient {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public BaseResponse<PageSimpleResponse<ThrInvResultResponse>> getInvGhResult(FilterInvProductRequest invProductRequest) {
|
|
|
|
|
// ThrSystemEntity basicThirdSysEntity = basicThirdSysService.selectByThirdId(invProductRequest.getThirdSys());
|
|
|
|
|
// String url = basicThirdSysEntity.getThridUrl() + invProductRequest.getThirdSysUrlValue();
|
|
|
|
|
String url = "http://192.168.0.166:9997/udiwms/erp/inv/getInvCodeResult";
|
|
|
|
|
ThrSystemEntity basicThirdSysEntity = basicThirdSysService.selectByThirdId(invProductRequest.getThirdSys());
|
|
|
|
|
String url = basicThirdSysEntity.getThridUrl() + "/udiwms/erp/inv/getInvCodeResult";
|
|
|
|
|
try {
|
|
|
|
|
String response = httpOkClient.uCloudPost(url, invProductRequest);
|
|
|
|
|
BaseResponse<PageSimpleResponse<ThrInvResultResponse>> listBaseResponse =
|
|
|
|
|