瀏覽代碼

场景列表添加场景码查询

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

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

@@ -67,6 +67,9 @@
         <if test="param.snCode != null and param.snCode !='' ">
         <if test="param.snCode != null and param.snCode !='' ">
             and c.sn_code like concat ('%',#{param.snCode},'%')
             and c.sn_code like concat ('%',#{param.snCode},'%')
         </if>
         </if>
+        <if test="param.num != null and param.num !='' ">
+            and s.num like concat ('%',#{param.num},'%')
+        </if>
         <if test="param.userName != null and param.userName !='' ">
         <if test="param.userName != null and param.userName !='' ">
             and u.user_name like concat ('%',#{param.userName},'%')
             and u.user_name like concat ('%',#{param.userName},'%')
         </if>
         </if>