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