Ver código fonte

创建时间 倒序

hr~ 1 mês atrás
pai
commit
4721054a92
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lot/src/main/resources/mapper/LotMapper.xml

+ 1 - 1
lot/src/main/resources/mapper/LotMapper.xml

@@ -96,7 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             </if>
 
         </where>
-        order by sort desc,id desc
+        order by create_time desc
     </select>
     <select id="selectLotByGroupIds" parameterType="Long" resultMap="LotResult">
         <include refid="selectLotVo"/>