@@ -21,6 +21,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<if test="userId != null "> and user_id = #{userId}</if>
<if test="questionId != null "> and question_id = #{questionId}</if>
+ <if test="km != null "> and km = #{km}</if>
+ <if test="carType != null "> and car_type = #{carType}</if>
</where>
</select>