From 616c9c94af30ae75eb5994a2cea3fac16acaa005 Mon Sep 17 00:00:00 2001 From: 李林 <z1292839451@163.com> Date: 星期四, 20 七月 2023 11:21:50 +0800 Subject: [PATCH] 增加请求“检验模块” --- standard-server/src/main/resources/mapper/SpecificationsMapper.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/standard-server/src/main/resources/mapper/SpecificationsMapper.xml b/standard-server/src/main/resources/mapper/SpecificationsMapper.xml index bd4b25d..0942946 100644 --- a/standard-server/src/main/resources/mapper/SpecificationsMapper.xml +++ b/standard-server/src/main/resources/mapper/SpecificationsMapper.xml @@ -11,4 +11,13 @@ AND s.`name` = #{specificationsName} </if> </select> + + <select id="selectSNameSNName" resultType="Map"> + select m.num,m.supplier,m.name m_name,m.location,m.batch,m.reel_number,concat(s.name,'/',sn.name) ss_name,s.voltage_level,s.cross_section,s.number_of_cores,s.instruct from material m,specifications s,serial_number sn + where m.specifications_id = s.id + and s.serial_id = sn.id + and m.id = #{materialId} + order by s.create_time desc + limit 1 + </select> </mapper> -- Gitblit v1.9.3