From 150c89bd7d5037024468417f5ac11fd518ca44d3 Mon Sep 17 00:00:00 2001
From: 李林 <z1292839451@163.com>
Date: 星期一, 17 七月 2023 21:29:51 +0800
Subject: [PATCH] 增加请求“添加检验申请单”

---
 standard-server/src/main/resources/mapper/ProductMapper.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/standard-server/src/main/resources/mapper/ProductMapper.xml b/standard-server/src/main/resources/mapper/ProductMapper.xml
index 4868b93..fd6ca60 100644
--- a/standard-server/src/main/resources/mapper/ProductMapper.xml
+++ b/standard-server/src/main/resources/mapper/ProductMapper.xml
@@ -1,5 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.yuanchu.limslaboratory.mapper.ProductMapper">
-
+    <select id="selectProductByMaterialId" resultType="Product">
+        select id, name, method, father, unit, required, internal
+        from product
+        where material_id = #{material_id}
+        and state = 1
+    </select>
 </mapper>

--
Gitblit v1.9.3