lyhzzz 2 年 前
コミット
e3db249374
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/main/resources/mapper/manage/SceneProMapper.xml

+ 1 - 1
src/main/resources/mapper/manage/SceneProMapper.xml

@@ -49,7 +49,7 @@
             and s.title like concat ('%',#{param.sceneName},'%')
             and s.title like concat ('%',#{param.sceneName},'%')
         </if>
         </if>
         ) as tb
         ) as tb
-        order by ${param.field}  ${param.order}
+        order by ${param.field} ,id ${param.order}
     </select>
     </select>
 
 
     <sql id="commonWhere">
     <sql id="commonWhere">