Browse Source

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

bihs 5 days ago
parent
commit
1704f18009

+ 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>