Commit 4df63d57 authored by hcing's avatar hcing

fix(tzs): 修复企业编码关联错误

- 将 tz_base_enterprise_info 表的连接条件从 u.unit_code = e.use_unit_code 修改为 u.unit_code = e.use_code - 此修改解决了用户信息查询中企业编码关联不正确的问题
parent 9b1166f7
...@@ -324,7 +324,7 @@ ...@@ -324,7 +324,7 @@
FROM FROM
"tzs_user_info" u "tzs_user_info" u
left join tzs_user_permission p on u.sequence_nbr = p.user_seq left join tzs_user_permission p on u.sequence_nbr = p.user_seq
left join tz_base_enterprise_info e on u.unit_code = e.use_unit_code left join tz_base_enterprise_info e on u.unit_code = e.use_code
<where> <where>
u.is_delete = false u.is_delete = false
<if test="filter.orgCode != null and filter.orgCode != ''"> <if test="filter.orgCode != null and filter.orgCode != ''">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment