Commit 0c95606f authored by 温志超's avatar 温志超

日产能报表导出

parent e191dd30
......@@ -75,6 +75,17 @@ public class DailyProductionReportController extends BaseController {
return AjaxResult.success(data);
}
/**
* 日产能对比统计:统计方式车间导出
*/
@PreAuthorize("@ss.hasPermi('pro:materialReturn:export')")
@Log(title = "日产能对比统计:统计方式车间导出", businessType = BusinessType.EXPORT)
@PostMapping("/getListByWorkshop/export")
public void getListByWorkshopExport(HttpServletResponse response, DailyProductionReportRequest dailyProductionReportRequest) {
List data = dailyProductionReportService.getListByWorkshop(dailyProductionReportRequest);
dailyProductionReportService.export(response,data,"日产能对比统计-统计方式车间导出","车间名称","车间编码","车间", dailyProductionReportRequest);
}
@ApiOperation("日产能对比统计:统计方式工作中心")
@PreAuthorize("@ss.hasPermi('mes:pro:dailyProductionReport:get')")
......@@ -84,6 +95,21 @@ public class DailyProductionReportController extends BaseController {
List data = dailyProductionReportService.getListByWorkstation(dailyProductionReportRequest);
return AjaxResult.success(data);
}
/**
* 日产能对比统计:统计方式工作中心导出
*/
@PreAuthorize("@ss.hasPermi('pro:materialReturn:export')")
@Log(title = "日产能对比统计:统计方式工作中心导出", businessType = BusinessType.EXPORT)
@PostMapping("/getListByWorkstation/export")
public void getListByWorkstationExport(HttpServletResponse response, DailyProductionReportRequest dailyProductionReportRequest) {
List data = dailyProductionReportService.getListByWorkstation(dailyProductionReportRequest);
dailyProductionReportService.export(response,data,"日产能对比统计-统计方式工作中心导出","工作中心名称","工作中心编码","工作中心", dailyProductionReportRequest);
}
@ApiOperation("日产能对比统计:统计方式工作单元")
@PreAuthorize("@ss.hasPermi('mes:pro:dailyProductionReport:get')")
@Log(title = "日产能对比统计:统计方式工作单元", businessType = BusinessType.QUERY)
......@@ -93,6 +119,21 @@ public class DailyProductionReportController extends BaseController {
return AjaxResult.success(data);
}
/**
* 日产能对比统计:统计方式工作中心导出
*/
@PreAuthorize("@ss.hasPermi('pro:materialReturn:export')")
@Log(title = "日产能对比统计:统计方式工作单元导出", businessType = BusinessType.EXPORT)
@PostMapping("/getListByWorkunit/export")
public void getListByWorkunitExport(HttpServletResponse response, DailyProductionReportRequest dailyProductionReportRequest) {
List data = dailyProductionReportService.getListByWorkunit(dailyProductionReportRequest);
dailyProductionReportService.export(response,data,"日产能对比统计-统计方式工作单元导出","工作单元名称","工作单元编码","工作单元", dailyProductionReportRequest);
}
@ApiOperation("日产能对比统计:统计方式报工人员")
@PreAuthorize("@ss.hasPermi('mes:pro:dailyProductionReport:get')")
@Log(title = "日产能对比统计:统计方式报工人员", businessType = BusinessType.QUERY)
......@@ -102,4 +143,15 @@ public class DailyProductionReportController extends BaseController {
return AjaxResult.success(data);
}
/**
* 日产能对比统计:统计方式工作中心导出
*/
@PreAuthorize("@ss.hasPermi('pro:materialReturn:export')")
@Log(title = "日产能对比统计:统计方式工作单元导出", businessType = BusinessType.EXPORT)
@PostMapping("/getListByUser/export")
public void getListByUserExport(HttpServletResponse response, DailyProductionReportRequest dailyProductionReportRequest) {
List data = dailyProductionReportService.getListByUser(dailyProductionReportRequest);
dailyProductionReportService.export(response,data,"日产能对比统计-统计方式工作单元导出","报工人员名称","报工人员编码","报工人员", dailyProductionReportRequest);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment