From d7abd9ebd3adf6bd7adac595fd1c070568432acb Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期五, 21 六月 2024 09:01:23 +0800 Subject: [PATCH] 人员考评 --- inspect-server/src/main/resources/mapper/StandardTreeMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml index e0590ad..f735849 100644 --- a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml +++ b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml @@ -275,5 +275,8 @@ <if test="itemChild != null and itemChild != ''"> and inspection_item_subclass = #{itemChild} </if> + <if test="itemChild == null or itemChild == ''"> + and (inspection_item_subclass is null or inspection_item_subclass = '') + </if> </select> </mapper> -- Gitblit v1.9.3