Skip to content

Commit

Permalink
fix: python gateway tenant code query
Browse files Browse the repository at this point in the history
part of related: #13042
  • Loading branch information
zhongjiajie committed Apr 3, 2023
1 parent 5199926 commit b547024
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@
</select>
<select id="queryByUserNameAccurately" resultType="org.apache.dolphinscheduler.dao.entity.User">
select
<include refid="baseSql"/>
from t_ds_user
where user_name=#{userName}
<include refid="baseSqlV2">
<property name="alias" value="u"/>
</include>
, t.tenant_code
from t_ds_user u
left join t_ds_tenant t on u.tenant_id = t.id
where u.user_name = #{userName}
</select>
<select id="queryUserByNamePassword" resultType="org.apache.dolphinscheduler.dao.entity.User">
select
Expand Down

0 comments on commit b547024

Please sign in to comment.