This is an automated email from the ASF dual-hosted git repository.

leonbao pushed a commit to branch 2.0.0-release
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit 4015448441398edb35d8a9c89257a64f324690d5
Author: DingPengfei <[email protected]>
AuthorDate: Wed Nov 17 15:03:53 2021 +0800

    fix bug of extra 'and' in ResourceMapper.xml (#6876)
    
    Co-authored-by: ding <dingpf@helowin>
---
 .../resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml
 
b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml
index 7a8b043..3d93c7c 100644
--- 
a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml
+++ 
b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml
@@ -63,7 +63,7 @@
         <if test="userId != 0">
             and (
             <if test="resIds != null and resIds.size() > 0">
-                and d.id in
+                d.id in
                 <foreach collection="resIds" item="i" open="(" close=") or" 
separator=",">
                     #{i}
                 </foreach>

Reply via email to