Browse Source

[Enhancement-8006] Improve the performance of SQL query (#8007)

Co-authored-by: kuanghc1 <kuanghc1@lenovo.com>
3.0.0/version-upgrade
springmonster 3 years ago committed by GitHub
parent
commit
5e975dad34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.xml

4
dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.xml

@ -160,6 +160,8 @@
</select> </select>
<select id="queryAllProject" resultType="org.apache.dolphinscheduler.dao.entity.Project"> <select id="queryAllProject" resultType="org.apache.dolphinscheduler.dao.entity.Project">
select * from t_ds_project select
<include refid="baseSql"/>
from t_ds_project
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save