XiaoRuby
2023-08-21 9b319f3a8d084babe9a021c151434aae4a2c450d
LIMS管理系统框架-开发8-21
已修改1个文件
5 ■■■■■ 文件已修改
standard-server/src/main/resources/mapper/ProductModelMapper.xml 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>
    <!--查询项目模版根据样品名-->