浏览代码

小程序 --单子按照状态进行排序

zouzhuo 3 年之前
父节点
当前提交
d568420c2d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-fleet/src/main/resources/mapper/orderPlan/ftmsorderbillscarsMapper.xml

+ 1 - 1
ruoyi-fleet/src/main/resources/mapper/orderPlan/ftmsorderbillscarsMapper.xml

@@ -781,7 +781,7 @@
             <if test="unLoadAddr != null  and unLoadAddr != ''">and t.un_load_addr like concat('%', #{unLoadAddr},'%')</if>
             <if test="mdLoadAddr != null  and mdLoadAddr != ''">and t.md_load_addr like concat('%', #{mdLoadAddr},'%')</if>
         </where>
-        ORDER BY c.id desc
+        ORDER BY c.order_status asc, c.id desc
     </select>
 
     <select id="getButtonValue" parameterType="ftmsorderbills" resultType="Map">