|
@@ -199,6 +199,7 @@ public class TrialSummaryController {
|
|
|
.eq(TrialSelfInspectionRecord::getType, dto.getUnitType())
|
|
|
.eq(TrialSelfInspectionRecord::getTaskStatus, "已审批")
|
|
|
.between(TrialSelfInspectionRecord::getReportDate, startDate, endDate)
|
|
|
+ .last(" order by report_date, report_no, record_no asc")
|
|
|
);
|
|
|
if (records.size() <= 0) {
|
|
|
throw new ServiceException("未获取到该报告时间段范围内的试验自检记录信息,操作失败");
|