小么熊🐻 преди 3 години
родител
ревизия
5dcba298ab
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      jkt-service/src/main/resources/mapper/question/QuestionWrongMapper.xml

+ 2 - 2
jkt-service/src/main/resources/mapper/question/QuestionWrongMapper.xml

@@ -20,9 +20,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <include refid="selectQuestionWrongVo"/>
         <where>
             <if test="userId != null and userId !='' "> and user_id = #{userId}</if>
-            <if test="questionId != null questionId != ''"> and question_id = #{questionId}</if>
+            <if test="questionId != null 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>
+            <if test="carType != null and carType =!'' "> and car_type = #{carType}</if>
         </where>
     </select>