From 9b319f3a8d084babe9a021c151434aae4a2c450d Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期一, 21 八月 2023 13:40:06 +0800
Subject: [PATCH] LIMS管理系统框架-开发8-21
---
standard-server/src/main/resources/mapper/ProductModelMapper.xml | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/standard-server/src/main/resources/mapper/ProductModelMapper.xml b/standard-server/src/main/resources/mapper/ProductModelMapper.xml
index 83edc6b..5b31620 100644
--- a/standard-server/src/main/resources/mapper/ProductModelMapper.xml
+++ b/standard-server/src/main/resources/mapper/ProductModelMapper.xml
@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.yuanchu.limslaboratory.mapper.ProductModelMapper">
<resultMap id="selectproductModelMap" type="map">
- <id property="father" column="father"/>
+ <id property="name" column="father"/>
<collection property="children" resultMap="selectproductModelTowMap" javaType="List"/>
</resultMap>
@@ -37,8 +37,7 @@
<select id="selectfather" resultType="java.lang.String">
SELECT DISTINCT father
FROM lims_laboratory.product_model
- WHERE father IS NOT NULL
- AND father != ''
+ WHERE state = 1
</select>
<!--鏌ヨ椤圭洰妯$増鏍规嵁鏍峰搧鍚�-->
--
Gitblit v1.9.3