From c9c4976f4e1e553edc98e4171a1d1741bde542f5 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期四, 10 八月 2023 14:03:41 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 inspection-server/src/main/resources/mapper/RawMaterialMapper.xml |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml b/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml
index 27d0b48..5cffc9a 100644
--- a/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml
+++ b/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml
@@ -19,4 +19,19 @@
             AND DATE_FORMAT(r.`create_time`,'%Y-%m-%d') = #{createTime}
         </if>
     </select>
+    <select id="selectRawmaAll" resultType="com.yuanchu.limslaboratory.pojo.RawMaterial">
+        select * from lims_laboratory.raw_material where state=1
+    </select>
+
+    <select id="selectRawmaById" resultType="com.yuanchu.limslaboratory.pojo.vo.InspectionVo">
+        select create_time formTime,
+               supplier_name supplier,
+               material_coding mcode,
+               material_name name,
+               specifications_models specifications,
+               unit ,
+               quantity num
+        from lims_laboratory.raw_material
+        where id=#{id}
+    </select>
 </mapper>

--
Gitblit v1.9.3