Browse Source

[fix]销售管理

修改导出所有出货资料的bug:新增导出所有出货资料后端接口
dev
liuxiaoxu 2 weeks ago
parent
commit
777fea70cb
  1. 20
      ruoyi-admin/src/main/java/com/ruoyi/sales/controller/SalesShippingInformationController.java

20
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<SalesShippingInformation> list = salesShippingInformationService.selectSalesShippingInformationList(salesShippingInformation);
ExcelUtil<SalesShippingInformation> util = new ExcelUtil<SalesShippingInformation>(SalesShippingInformation.class);
return util.exportExcel(list, "销售出货资料数据");
}
/**
* 导出销售出货资料列表
* 导出选择销售出货资料列表
*/
@RequiresPermissions("sales:salesShippingInformation:export")
@Log(title = "销售出货资料", businessType = BusinessType.EXPORT)

Loading…
Cancel
Save