From 9e993f2aa540d8f5d669b39ded5d4cdd4a9499c2 Mon Sep 17 00:00:00 2001 From: maLix Date: Mon, 26 Jun 2023 21:42:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=88=E4=BE=8B=E6=90=9C=E7=B4=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/main/resources/sql/jlw/handsOn.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/main/resources/sql/jlw/handsOn.md b/web/src/main/resources/sql/jlw/handsOn.md index 0001d292..2926c04f 100644 --- a/web/src/main/resources/sql/jlw/handsOn.md +++ b/web/src/main/resources/sql/jlw/handsOn.md @@ -153,8 +153,8 @@ queryByConditionMergeOpenCourseHandsOn @if(!isEmpty(handsOnFrom)){ and t.data_type = #handsOnFrom# @} - @if(!isEmpty(orgIdText) && orgIdText != null){ - @if(orgIdText = '超级管理员' || orgIdText = '管理员') { + @if(has(orgIdText) && !isEmpty(orgIdText) && orgIdText != null){ + @if(orgIdText == '超级管理员' || orgIdText == '管理员') { and za.id = 1 @} else { and za.`name` like #'%'+orgIdText+'%'#