From d4fd54448ff25bfecb1ea026fb2389a7e331a3fd Mon Sep 17 00:00:00 2001
From: 朱佳吉 <1527963051@qq.com>
Date: 星期四, 09 五月 2024 15:00:50 +0800
Subject: [PATCH] 查询不合格样品数据

---
 inspect-server/src/main/resources/mapper/InsSampleMapper.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
index 37aec35..11d9261 100644
--- a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
@@ -160,6 +160,10 @@
         and state = 1
         and ip.son_laboratory = #{laboratory}
     </select>
+    <select id="getSampleEn" resultType="java.lang.String">
+        select name_en from `center-lims`.product
+        where name = #{sample}
+    </select>
 
     <resultMap id="sampleDto" type="com.yuanchu.mom.dto.SampleProductDto">
         <id property="id" column="id" jdbcType="INTEGER"/>

--
Gitblit v1.9.3