From 4feecc75d0bb75a587523852bd99e71c2046af56 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期四, 23 五月 2024 17:32:37 +0800 Subject: [PATCH] 彻底解决标准库的bug --- inspect-server/src/main/resources/mapper/StandardTreeMapper.xml | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml index 23b0adc..ce4a5cc 100644 --- a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml +++ b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml @@ -157,7 +157,8 @@ 0 state, #{model} model, #{sample} sample, - #{trees} tree + #{trees} tree, + id structure_item_parameter_id from structure_item_parameter where ( sample is NULL @@ -193,7 +194,8 @@ 0 state, #{model} model, #{sample} sample, - #{trees} tree + #{trees} tree, + id structure_item_parameter_id from structure_item_parameter where sample LIKE CONCAT('%[', #{tree}, ']%') </select> @@ -233,7 +235,8 @@ 0 state, #{model} model, #{sample} sample, - #{trees} tree + #{trees} tree, + id structure_item_parameter_id from structure_item_parameter where ( sample is NULL -- Gitblit v1.9.3