Browse Source

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

Co-authored-by: ding <dingpf@helowin>
3.0.0/version-upgrade
DingPengfei 3 years ago committed by GitHub
parent
commit
842c3857c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml

2
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>

Loading…
Cancel
Save