|
@@ -22,7 +22,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userId != null and userId !='' "> and user_id = #{userId}</if>
|
|
|
<if test="questionId != null and questionId !='' "> and question_id = #{questionId}</if>
|
|
|
<if test="km != null and km !='' "> and km = #{km}</if>
|
|
|
- <if test="carType != null and carType !='' "> and car_type = #{carType}</if>
|
|
|
</where>
|
|
|
order by create_time asc
|
|
|
</select>
|
|
@@ -47,7 +46,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userId != null and userId !='' "> and q2.user_id = #{userId}</if>
|
|
|
<if test="questionId != null and questionId != '' "> and q2.question_id = #{questionId}</if>
|
|
|
<if test="km != null and km!='' "> and q2.km = #{km}</if>
|
|
|
- <if test="carType != null and carType !='' "> and q2.car_type = #{carType}</if>
|
|
|
</where>
|
|
|
|
|
|
</select>
|