瀏覽代碼

数字水利-督查检查管理,搜索框应支持模糊查询

lxz 1 年之前
父節點
當前提交
82ff2ab3a5

+ 1 - 1
src/main/resources/mapper/digitalwater/CenterdataTHydraulicPatrolSupervisionMapper.xml

@@ -80,7 +80,7 @@
         left join ${database_system}.sys_dept d on d.dept_id = cthpt.dept_id
         where  cthpt.type = 2 and cthpt.status = 'water_task_status_1'
         <if test="planName != null and planName != ''">
-            and cthpt.plan_name = #{planName}
+            and cthpt.plan_name  like concat('%', #{planName}, '%')
         </if>
         ${params.dataScope}
         ORDER BY cthpt.create_time desc