下载第三方产品信息

pro
wj 2 years ago
parent 21b81c5e40
commit 598b58d8d4

@ -16,6 +16,7 @@ import com.glxp.api.http.ErpBasicClient;
import com.glxp.api.req.system.DeleteRequest; import com.glxp.api.req.system.DeleteRequest;
import com.glxp.api.req.thrsys.FilterThrProductsRequest; import com.glxp.api.req.thrsys.FilterThrProductsRequest;
import com.glxp.api.req.thrsys.PostThrProductsRequest; import com.glxp.api.req.thrsys.PostThrProductsRequest;
import com.glxp.api.req.thrsys.ThrOnhandRequest;
import com.glxp.api.res.PageSimpleResponse; import com.glxp.api.res.PageSimpleResponse;
import com.glxp.api.res.thrsys.ThrProductsResponse; import com.glxp.api.res.thrsys.ThrProductsResponse;
import com.glxp.api.service.auth.CustomerService; import com.glxp.api.service.auth.CustomerService;
@ -237,4 +238,21 @@ public class ThrProductsController {
return ResultVOUtils.success(); return ResultVOUtils.success();
} }
/**
*
*
* @param filterThrProductsRequest
* @return
*/
@PostMapping("/udiwms/thrsys/products/productsDlAll")
public BaseResponse productsDlAll(@RequestBody FilterThrProductsRequest filterThrProductsRequest) {
if (null == filterThrProductsRequest) {
return ResultVOUtils.error(500, "参数不能为空");
}
ThreadUtil.execAsync(() -> {
erpBasicClient.getErpProducts(filterThrProductsRequest);
});
return ResultVOUtils.success();
}
} }
Loading…
Cancel
Save