@@ -1558,7 +1558,7 @@
<if test="con!=null">
and (instr(TLT.RESULT_WAGON_NO,#{con})>0 or instr(TLT.PURCHASE_ORDER_NO,#{con})>0 or instr(RM.MATERIAL_NAME,#{con}) > 0 or instr(DB.RESULT_FOREIGN_SHIP_NAME,#{con}) > 0 )
</if>
- ORDER BY TLT.RESULT_ID asc
+ ORDER BY WOR.INSERT_TIME DESC,TLT.RESULT_ID asc
</select>
<!-- 查找最近使用的采购订单号-->
<select id="selectPurchaseOrderNo" resultType="java.util.Map" parameterType="java.util.Map">