|
|
|
@ -16,6 +16,7 @@ import com.glxp.api.http.ErpBasicClient;
|
|
|
|
|
import com.glxp.api.req.system.DeleteRequest;
|
|
|
|
|
import com.glxp.api.req.thrsys.FilterThrProductsRequest;
|
|
|
|
|
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.thrsys.ThrProductsResponse;
|
|
|
|
|
import com.glxp.api.service.auth.CustomerService;
|
|
|
|
@ -237,4 +238,21 @@ public class ThrProductsController {
|
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|