From 2cf06285f64311722cbf79fd5635b16718635e5e Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 12 六月 2026 18:07:16 +0800
Subject: [PATCH] 不合格处理:支持多生产批次提交oa;oa流程查看调整
---
inspect-server/src/main/resources/mapper/InsReportMapper.xml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/inspect-server/src/main/resources/mapper/InsReportMapper.xml b/inspect-server/src/main/resources/mapper/InsReportMapper.xml
index 68615c0..ad7a7b9 100644
--- a/inspect-server/src/main/resources/mapper/InsReportMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsReportMapper.xml
@@ -79,6 +79,7 @@
left join laboratory l on s.lab_id = l.id
where l.laboratory_name = #{name}
and s.type = #{type}
+ and s.contract = #{contract}
order by s.create_time desc
limit 1
</select>
--
Gitblit v1.9.3