浏览代码

修复bug

java110 5 年之前
父节点
当前提交
9fc9e468ad
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      java110-db/src/main/resources/mapper/user/OrgStaffRelServiceDaoImplMapper.xml

+ 1 - 1
java110-db/src/main/resources/mapper/user/OrgStaffRelServiceDaoImplMapper.xml

@@ -80,7 +80,7 @@
         uu.name staffName
         uu.name staffName
         from u_org_staff_rel t,u_org uo,u_user uu
         from u_org_staff_rel t,u_org uo,u_user uu
         where t.org_id = uo.org_id
         where t.org_id = uo.org_id
-        and t.staff_id = uu.staff_id
+        and t.staff_id = uu.user_id
         and uu.status_cd = '0'
         and uu.status_cd = '0'
         and uo.status_cd = '0'
         and uo.status_cd = '0'
         <if test="relId !=null and relId != ''">
         <if test="relId !=null and relId != ''">