Ver Fonte

收藏和错题 提交

小么熊🐻 há 2 anos atrás
pai
commit
57726f0b20

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

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

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

@@ -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>
     </select>
 
@@ -46,7 +45,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>