Explorar el Código

调整服务端 降序查询数据

吴学文 hace 6 años
padre
commit
07c5004f3f

+ 2 - 1
java110-db/src/main/resources/mapper/service/ServiceServiceDaoImplMapper.xml

@@ -155,7 +155,8 @@ where 1 =1
 </if> 
 <if test="seq !=null and seq != ''">
    and t.seq= #{seq}
-</if> 
+</if>
+        order by t.create_time desc
 <if test="page != -1 and page != null ">
    limit #{page}, #{row}
 </if>