diff --git a/yanzhu-mapper/src/main/resources/mapper/project/ProProjectInfoMapper.xml b/yanzhu-mapper/src/main/resources/mapper/project/ProProjectInfoMapper.xml index eb4c87d..41d8102 100644 --- a/yanzhu-mapper/src/main/resources/mapper/project/ProProjectInfoMapper.xml +++ b/yanzhu-mapper/src/main/resources/mapper/project/ProProjectInfoMapper.xml @@ -34,7 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and no = #{no} and name like concat('%', #{name}, '%') - and dept_id = #{deptId} + and dept_id in (select dept_id from sys_dept where dept_id=#{deptId} or find_in_set(#{deptId}, ancestors)) and person_name like concat('%', #{personName}, '%') and person_phone = #{personPhone} and proj_status = #{projStatus} diff --git a/yanzhu-ui/src/views/project/projectInfo/index.vue b/yanzhu-ui/src/views/project/projectInfo/index.vue index 4be33c4..c8e4875 100644 --- a/yanzhu-ui/src/views/project/projectInfo/index.vue +++ b/yanzhu-ui/src/views/project/projectInfo/index.vue @@ -1,6 +1,6 @@