From 8bf9254ba43e744517d4de2516121da2979fd057 Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期二, 01 四月 2025 11:29:51 +0800 Subject: [PATCH] 1.检验项目参数导入 2.对象导入 --- basic-server/src/main/resources/mapper/StructureItemParameterMapper.xml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/basic-server/src/main/resources/mapper/StructureItemParameterMapper.xml b/basic-server/src/main/resources/mapper/StructureItemParameterMapper.xml index fd67dfc..117b826 100644 --- a/basic-server/src/main/resources/mapper/StructureItemParameterMapper.xml +++ b/basic-server/src/main/resources/mapper/StructureItemParameterMapper.xml @@ -3,6 +3,40 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.ruoyi.basic.mapper.StructureItemParameterMapper"> + <sql id="selectStandardTree"> + sample sample2, + inspection_item, + inspection_item_en, + inspection_item_subclass, + inspection_item_subclass_en, + inspection_item_class, + inspection_item_class_en, + method, + son_laboratory, + unit, + ask_tell tell, + ask, + price, + man_hour, + man_hour_group, + man_day, + inspection_item_type, + inspection_value_type, + bsm, + template_id, + laboratory, + checkout_number, + section, + dic, + 0 state, + #{trees} + tree, + id + structure_item_parameter_id, + radius_list, + rates + </sql> + <delete id="removeNoSample"> delete from structure_item_parameter @@ -118,4 +152,16 @@ <result column="pId" property="id"/> <result column="pName" property="name"/> </resultMap> + + <select id="selectItemParameterBySample" resultType="com.ruoyi.basic.pojo.StructureItemParameter"> + select * + from structure_item_parameter + where ( + sample is NULL + OR sample = '' + or sample = '[]' + OR sample LIKE CONCAT('%', #{sample}, '%') + ) + order by id asc + </select> </mapper> -- Gitblit v1.9.3