浏览代码

Merge remote-tracking branch 'origin/master'

Althars123 2 年之前
父节点
当前提交
366641dff4
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      sdjk-service/src/main/resources/mapper/question/QuestionCollectionMapper.xml

+ 2 - 1
sdjk-service/src/main/resources/mapper/question/QuestionCollectionMapper.xml

@@ -24,6 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="km != null and km !='' "> and km = #{km}</if>
             <if test="km != null and km !='' "> and km = #{km}</if>
             <if test="carType != null and carType !='' "> and car_type = #{carType}</if>
             <if test="carType != null and carType !='' "> and car_type = #{carType}</if>
         </where>
         </where>
+        order by create_time asc
     </select>
     </select>
 
 
 
 
@@ -36,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="km != null and km!='' "> and q2.km = #{km}</if>
             <if test="km != null and km!='' "> and q2.km = #{km}</if>
             <if test="carType != null and carType !='' "> and q2.car_type = #{carType}</if>
             <if test="carType != null and carType !='' "> and q2.car_type = #{carType}</if>
         </where>
         </where>
-        order by q2.create_time
+        order by q2.create_time asc
 
 
     </select>
     </select>