liyg 2 years ago
parent
commit
dac447afc9

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/ShipDynamicsMapper.xml

@@ -165,7 +165,7 @@
                                 and (tusr.RESULT_ID is null or tusr.RESULT_START_TIME > to_date(#{oneDate}, 'yyyy-mm-dd hh24:mi:ss'))
                           )
                       )
-        ORDER BY DECODE("materialTypeName",'低富粉',3,'中富粉',2,'高富粉',1,'机精粉',4 ,'进口块矿',5,6),"batchInfacoryId","batchId","portName" DESC
+        ORDER BY DECODE("materialTypeName",'低富粉',3,'中富粉',2,'高富粉',1,'机精粉',4 ,'进口块矿',5,6),"batchId","portName","batchInfacoryId" DESC
     </select>
     <select id="selectByshipName" resultType="java.util.Map" parameterType="java.util.Map">
         select sd.GM_TONNAGE as "tonnage",