diff --git a/ruoyi-admin/src/main/java/com/ruoyi/sales/controller/SalesShippingInformationController.java b/ruoyi-admin/src/main/java/com/ruoyi/sales/controller/SalesShippingInformationController.java index 18476f00..fc6f416e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/sales/controller/SalesShippingInformationController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/sales/controller/SalesShippingInformationController.java @@ -50,8 +50,26 @@ public class SalesShippingInformationController extends BaseController return getDataTable(list); } + + /** + * 导出所有销售出货资料列表 + */ + @RequiresPermissions("sales:salesShippingInformation:export") + @Log(title = "销售出货资料", businessType = BusinessType.EXPORT) + @PostMapping("/exportAll") + @ResponseBody + public AjaxResult exportAll(SalesShippingInformation salesShippingInformation) + { + List list = salesShippingInformationService.selectSalesShippingInformationList(salesShippingInformation); + ExcelUtil util = new ExcelUtil(SalesShippingInformation.class); + return util.exportExcel(list, "销售出货资料数据"); + } + + + + /** - * 导出销售出货资料列表 + * 导出选择销售出货资料列表 */ @RequiresPermissions("sales:salesShippingInformation:export") @Log(title = "销售出货资料", businessType = BusinessType.EXPORT)