Prechádzať zdrojové kódy

fix bug of extra 'and' in ResourceMapper.xml (#6876)

Co-authored-by: ding <dingpf@helowin>
DingPengfei 3 rokov pred
rodič
commit
842c3857c1

+ 1 - 1
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>