From 207198f3e80962a09e3f9b8e0d6cc221d2c6d34a Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期三, 23 八月 2023 09:05:36 +0800 Subject: [PATCH] 8-23 修改1.0 --- standard-server/src/main/resources/mapper/ProductModelMapper.xml | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/standard-server/src/main/resources/mapper/ProductModelMapper.xml b/standard-server/src/main/resources/mapper/ProductModelMapper.xml index 5b31620..8488506 100644 --- a/standard-server/src/main/resources/mapper/ProductModelMapper.xml +++ b/standard-server/src/main/resources/mapper/ProductModelMapper.xml @@ -47,6 +47,13 @@ unit from lims_laboratory.product_model where state = 1 - and material =#{name} + and material = #{name} + </select> + + <!--娣诲姞鏍囧噯閫夋嫨鏍峰搧鍚嶇О--> + <select id="selectmater" resultType="java.lang.String"> + select material + from lims_laboratory.product_model + where state = 1 </select> </mapper> -- Gitblit v1.9.3