lyhzzz 2 月之前
父節點
當前提交
30ba7d411b
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/main/resources/mapper/manage_jp/SceneProMapper.xml

+ 3 - 0
src/main/resources/mapper/manage_jp/SceneProMapper.xml

@@ -41,6 +41,9 @@
         left join t_camera_detail d on c.id = d.camera_id
         left join t_company co on u.company_id = co.id
         where s.rec_status = 'A'
+        <if test="param.num != null and param.num !='' ">
+            and s.num like concat ('%',#{param.num},'%')
+        </if>
         <if test="param.childName != null and param.childName !='' ">
             and c.child_name like concat ('%',#{param.childName},'%')
         </if>