瀏覽代碼

凯和查询航次列表优化

lazhaoqian 3 年之前
父節點
當前提交
051256a196
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ruoyi-shipping/src/main/resources/mapper/shipping/TVoyageMapper.xml

+ 1 - 0
ruoyi-shipping/src/main/resources/mapper/shipping/TVoyageMapper.xml

@@ -475,6 +475,7 @@
         <if test="fTel != null  and fTel != ''">and f_tel = #{fTel}</if>
         <if test="fStatus != null  and fStatus != ''">and f_status = #{fStatus}</if>
         <if test="fLaneid != null ">and f_laneid = #{fLaneid}</if>
+        ORDER BY  CONVERT(f_no USING gbk) DESC
     </select>
     <!--查询航次信息是否重复-->
     <select id="selectTVoyageMessage" parameterType="Long" resultMap="TVoyageResult">