lyhzzz 2 months ago
parent
commit
30ba7d411b
1 changed files with 3 additions and 0 deletions
  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>