From 53b5ea2b96d76b2072819f14a48f26c58cea0f84 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期二, 29 八月 2023 08:59:46 +0800 Subject: [PATCH] 修改bug --- 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..aaa8c13 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 DISTINCT material + from lims_laboratory.product_model + where state = 1 </select> </mapper> -- Gitblit v1.9.3