fix: 出入库明细接口 入参实体修改

dev
chenhc 1 year ago
parent 9d5c29c34d
commit f9de1f95e5

@ -79,7 +79,7 @@ public interface BaseHttpClient {
* @param udiwmsInvProductsRequest
* @return
*/
BaseResponse getInvResult(InvProductRequest udiwmsInvProductsRequest);
BaseResponse getInvResult(UdiwmsInvProductsRequest udiwmsInvProductsRequest);
/**
*

@ -273,7 +273,7 @@ public abstract class CommonHttpClient implements BaseHttpClient {
}
@Override
public BaseResponse getInvResult(InvProductRequest udiwmsInvProductsRequest) {
public BaseResponse getInvResult(UdiwmsInvProductsRequest udiwmsInvProductsRequest) {
return null;
}
}

@ -439,10 +439,10 @@ public class PtxhyyClient extends CommonHttpClient {
/**
* /
*/
public BaseResponse getInvResult(InvProductRequest invProductRequest) {
public BaseResponse getInvResult(UdiwmsInvProductsRequest udiwmsInvProductsRequest) {
PtxhyyInvRequest ptxhyyInvRequest = new PtxhyyInvRequest();
ptxhyyInvRequest.setKssj(DateUtil.formatDate(invProductRequest.getStartDate(), "yyyy-MM-dd"));
ptxhyyInvRequest.setJssj(DateUtil.formatDate(invProductRequest.getEndDate(), "yyyy-MM-dd"));
ptxhyyInvRequest.setKssj(DateUtil.formatDate(udiwmsInvProductsRequest.getStartDate(), "yyyy-MM-dd"));
ptxhyyInvRequest.setJssj(DateUtil.formatDate(udiwmsInvProductsRequest.getEndDate(), "yyyy-MM-dd"));
String response = httpClient.postJson(thrSystemDetailService.getUrlExclude(null) + "/api/foreign/CKCX", ptxhyyInvRequest);

@ -126,7 +126,7 @@ public class UdiWmsController {
*/
@PostMapping("/udiwms/erp/inv/getInvResult")
public BaseResponse getInvResult(@RequestBody UdiwmsInvProductsRequest udiwmsInvProductsRequest) {
return ClientProcessor.getHttpClient().getInvProducts(udiwmsInvProductsRequest);
return ClientProcessor.getHttpClient().getInvResult(udiwmsInvProductsRequest);
}
/**

Loading…
Cancel
Save