|
@@ -49,6 +49,7 @@ public class ProductionTaskProgressServiceImpl extends ServiceImpl<ProductionTas
|
|
|
IWrapper<ProductionTaskProgress> wrapper = getWorkshopReportWrapper(dto);
|
|
|
|
|
|
wrapper.in("DATEDIFF( now(), ps.scheduling_date )", -1, 0, 1);
|
|
|
+ wrapper.groupBy("ptp.id");
|
|
|
|
|
|
Page<WorkshopReportBo> workshopReportBoPage = baseMapper.workshopReport(dto.getPage(), wrapper);
|
|
|
List<WorkshopReportBo> records = workshopReportBoPage.getRecords();
|