From 2f640b1038fa331954f78ed1f4317212cf5bb34d Mon Sep 17 00:00:00 2001 From: chenlu <1320612696@qq.com> Date: 星期五, 07 六月 2024 16:56:06 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override --- north-glass-erp/src/main/java/com/example/erp/service/pp/ReportService.java | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportService.java b/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportService.java index 454bc48..6d65e9c 100644 --- a/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportService.java +++ b/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportService.java @@ -4,6 +4,7 @@ import com.baomidou.dynamic.datasource.annotation.DS; import com.example.erp.dto.pp.DamageReportDTO; +import com.example.erp.dto.pp.TeamOutputDTO; import com.example.erp.entity.pp.DamageDetails; import com.example.erp.entity.pp.Report; import com.example.erp.mapper.pp.ProductionSchedulingMapper; @@ -367,4 +368,31 @@ } return reportMapper.exportWorkInProgressMp(date,process,inputVal,project); } + + public List exportTaskCompletionStatusSv(Map<String, Object> dates) { + return reportMapper.exportTaskCompletionStatusMp(dates); + } + + public List exportRawMaterialRequisitionSv(List<LocalDate> dates) { + return reportMapper.exportRawMaterialRequisitionMp(dates); + } + + public List exportQualityReportSv(List<LocalDate> dates) { + return reportMapper.exportQualityReportSv(dates); + } + + public List exportYieldSv(Map<String, Object> dates) { + List<LocalDate> date= (List<LocalDate>) dates.get("date"); + String process= (String) dates.get("processes"); + return reportMapper.exportYieldMp(date,process); + } + + public Map<String, Object> teamOutputSv(Integer pageNum, Integer pageSize, Date selectTime1, Date selectTime2, String selectProcesses, TeamOutputDTO teamOutputDTO) { + Integer offset = (pageNum - 1) * pageSize; + Map<String, Object> map = new HashMap<>(); + map.put("data", reportMapper.teamOutputMp(offset, pageSize, selectTime1, selectTime2,selectProcesses, teamOutputDTO)); + map.put("process", productionSchedulingMapper.selectProcess()); + map.put("total", reportMapper.teamOutputPageTotal(offset, pageSize, selectTime1, selectTime2,selectProcesses, teamOutputDTO)); + return map; + } } -- Gitblit v1.8.0