Преглед на файлове

凯和查询航次列表优化

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">