فهرست منبع

排水管线添加${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>