From 1a36e226f5091e2b36710e9cb771a4326ae3552b Mon Sep 17 00:00:00 2001 From: gaoaoy <1042166043@qq.com> Date: 星期三, 13 三月 2024 09:21:36 +0800 Subject: [PATCH] 检验下单 --- inspect-server/src/main/resources/mapper/StandardTreeMapper.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml index 1d093f8..d4e6bab 100644 --- a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml +++ b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml @@ -49,4 +49,49 @@ <select id="selectStandardTreeList" resultMap="FactoryDto"> select factory,laboratory,sample_type,sample,model from standard_tree </select> + + <select id="selectStandardProductById" resultType="com.yuanchu.mom.pojo.StandardProductList"> + select + inspection_item, + inspection_item_classify, + inspection_item_subclass, + laboratory, + unit, + price, + man_hour, + man_hour_group, + inspection_item_type, + inspection_value_type, + device_group, + checkout_number, + section, + value_type, + method, + man_day, + bsm + from structure_item_parameter + where id = #{id} + </select> + <select id="getStandardProductListBySample" resultType="com.yuanchu.mom.pojo.StandardProductList"> + select inspection_item, + inspection_item_classify, + inspection_item_subclass, + laboratory, + unit, + price, + man_hour, + man_hour_group, + inspection_item_type, + inspection_value_type, + device_group, + checkout_number, + section, + value_type, + method, + man_day, + sample, + bsm + from structure_item_parameter + where sample = #{sample} + </select> </mapper> -- Gitblit v1.9.3