czh 2 년 전
부모
커밋
384623770d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sckw-modules/sckw-system/src/main/resources/mapper/KwsEnterpriseDao.xml

+ 1 - 1
sckw-modules/sckw-system/src/main/resources/mapper/KwsEnterpriseDao.xml

@@ -241,7 +241,7 @@
     from kws_enterprise a
            left join kws_dept b on a.id = b.ent_id
            LEFT JOIN kws_user d ON a.phone = d.account
-           left join kws_role f on a.id = f.dept_id
+           left join kws_role f on b.id = f.dept_id
     where a.del_flag = 0
       and b.del_flag = 0
       and d.del_flag = 0