Min 9 달 전
부모
커밋
9a04436b65
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      fhKeeper/formulahousekeeper/management-platform/src/main/resources/mapper/ProjectMapper.xml

+ 2 - 2
fhKeeper/formulahousekeeper/management-platform/src/main/resources/mapper/ProjectMapper.xml

@@ -1914,7 +1914,7 @@
         LEFT JOIN task t ON tg.id = t.group_id
         LEFT JOIN task_executor te ON t.id = te.task_id
         LEFT JOIN user u
-        ON te.executor_id = u.id
+        ON te.executor_id = u.id AND u.`company_id`=#{companyId}
         LEFT JOIN project p ON p.id=tg.project_id
         LEFT JOIN department d ON d.department_id=u.department_id
         LEFT JOIN (
@@ -1947,7 +1947,7 @@
         LEFT JOIN task t ON tg.id = t.group_id
         LEFT JOIN task_executor te ON t.id = te.task_id
         LEFT JOIN `user` u
-        ON te.executor_id = u.id
+        ON te.executor_id = u.id AND u.`company_id`=#{companyId}
         LEFT JOIN project p ON p.id=tg.project_id
         LEFT JOIN department d ON d.department_id=u.department_id
         LEFT JOIN (