浏览代码

排水管线添加${params.dataScope}

bihs 5 天之前
父节点
当前提交
1704f18009
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/resources/mapper/construction/drainage/DrainagePipeInspectionTaskMapper.xml

+ 1 - 0
src/main/resources/mapper/construction/drainage/DrainagePipeInspectionTaskMapper.xml

@@ -58,6 +58,7 @@
             </if>
             <if test="deptId != null ">and FIND_IN_SET( #{deptId}, CONCAT(d.ancestors,',',d.dept_id) )</if>
             <if test="deptName != null  and deptName != ''">and dept_name like concat('%', #{deptName}, '%')</if>
+            ${params.dataScope}
         </where>
         order by a.start_time desc,a.create_time desc
     </select>