|
|
|
@ -45,6 +45,8 @@ public class QualityReportController extends BaseController {
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/qualityDefectsStatisticalAnalysisList/export" )
|
|
|
|
|
public void qualityDefectsStatisticalAnalysisListExport(HttpServletResponse response, @RequestParam(required = false) Map hashMap) {
|
|
|
|
|
hashMap.put("pageNum",null);
|
|
|
|
|
hashMap.put("pageSize",null);
|
|
|
|
|
List<QualityDefectsStatisticalAnalysis> list = qualityReportService.qualityDefectsStatisticalAnalysisList(hashMap);
|
|
|
|
|
ExcelUtil<QualityDefectsStatisticalAnalysis> util = new ExcelUtil<>(QualityDefectsStatisticalAnalysis. class);
|
|
|
|
|
util.exportExcel(response, list, "质量缺陷统计分析" );
|
|
|
|
@ -68,6 +70,8 @@ public class QualityReportController extends BaseController {
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/qualityDefectsDetailList/export" )
|
|
|
|
|
public void qualityDefectsDetailListExport(HttpServletResponse response, @RequestParam(required = false) Map hashMap) {
|
|
|
|
|
hashMap.put("pageNum",null);
|
|
|
|
|
hashMap.put("pageSize",null);
|
|
|
|
|
List<QualityDefectsDetail> list = qualityReportService.qualityDefectsDetailListExport(hashMap);
|
|
|
|
|
ExcelUtil<QualityDefectsDetail> util = new ExcelUtil<>(QualityDefectsDetail. class);
|
|
|
|
|
util.exportExcel(response, list, "质量缺陷统计分析明细" );
|
|
|
|
@ -91,6 +95,8 @@ public class QualityReportController extends BaseController {
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/fewerMistakesReportList/export" )
|
|
|
|
|
public void fewerMistakesReportListExport(HttpServletResponse response, @RequestParam(required = false) Map hashMap) {
|
|
|
|
|
hashMap.put("pageNum",null);
|
|
|
|
|
hashMap.put("pageSize",null);
|
|
|
|
|
List<FewerMistakesReport> list = qualityReportService.fewerMistakesReportList(hashMap);
|
|
|
|
|
ExcelUtil<FewerMistakesReport> util = new ExcelUtil<>(FewerMistakesReport. class);
|
|
|
|
|
util.exportExcel(response, list, "少错件报表" );
|
|
|
|
@ -115,6 +121,8 @@ public class QualityReportController extends BaseController {
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/qualityIssuesReportList/export" )
|
|
|
|
|
public void qualityIssuesReportListExport(HttpServletResponse response, @RequestParam(required = false) Map hashMap) {
|
|
|
|
|
hashMap.put("pageNum",null);
|
|
|
|
|
hashMap.put("pageSize",null);
|
|
|
|
|
List<QualityIssuesReport> list = qualityReportService.qualityIssuesReportList(hashMap);
|
|
|
|
|
ExcelUtil<QualityIssuesReport> util = new ExcelUtil<>(QualityIssuesReport. class);
|
|
|
|
|
util.exportExcel(response, list, "质量问题前80报表" );
|
|
|
|
@ -139,6 +147,8 @@ public class QualityReportController extends BaseController {
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/productTraceabilityReportList/export" )
|
|
|
|
|
public void productTraceabilityReportListExport(HttpServletResponse response, @RequestParam(required = false) Map hashMap) {
|
|
|
|
|
hashMap.put("pageNum",null);
|
|
|
|
|
hashMap.put("pageSize",null);
|
|
|
|
|
List<ProductTraceabilityReport> list = qualityReportService.productTraceabilityReportList(hashMap);
|
|
|
|
|
ExcelUtil<ProductTraceabilityReport> util = new ExcelUtil<>(ProductTraceabilityReport. class);
|
|
|
|
|
util.exportExcel(response, list, "产品追溯报表" );
|
|
|
|
@ -195,6 +205,8 @@ public class QualityReportController extends BaseController {
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/repairRateReportList/export" )
|
|
|
|
|
public void repairRateReportListExport(HttpServletResponse response, @RequestParam(required = false) Map hashMap) {
|
|
|
|
|
hashMap.put("pageNum",null);
|
|
|
|
|
hashMap.put("pageSize",null);
|
|
|
|
|
List<RepairRateReport> list = qualityReportService.repairRateReportList(hashMap);
|
|
|
|
|
ExcelUtil<RepairRateReport> util = new ExcelUtil<>(RepairRateReport. class);
|
|
|
|
|
util.exportExcel(response, list, "质量返修率报表" );
|
|
|
|
@ -218,6 +230,8 @@ public class QualityReportController extends BaseController {
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/downgradeProportionReportList/export" )
|
|
|
|
|
public void downgradeProportionReportListExport(HttpServletResponse response, @RequestParam(required = false) Map hashMap) {
|
|
|
|
|
hashMap.put("pageNum",null);
|
|
|
|
|
hashMap.put("pageSize",null);
|
|
|
|
|
List<DowngradeProportionReport> list = qualityReportService.downgradeProportionReportList(hashMap);
|
|
|
|
|
ExcelUtil<DowngradeProportionReport> util = new ExcelUtil<>(DowngradeProportionReport. class);
|
|
|
|
|
util.exportExcel(response, list, "降级率报表" );
|
|
|
|
|