Browse Source

锁房列表 按index正序排

xiari 6 tháng trước cách đây
mục cha
commit
47bcae49d2

+ 1 - 1
ruoyi-modules/ruoyi-hotel/src/main/resources/mapper/hotel/business/KfOrderMapper.xml

@@ -65,7 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="bo.orderType != null and bo.orderType != ''">
             <if test="bo.orderType != null and bo.orderType != ''">
                 and o.order_type = #{bo.orderType}
                 and o.order_type = #{bo.orderType}
             </if>
             </if>
-        order by  o.update_time desc
+        order by o.order_index
         </where>
         </where>
     </select>
     </select>