小么熊🐻 il y a 1 an
Parent
commit
a030a3831d

+ 2 - 2
jpcj-service/src/main/resources/mapper/question/QuestionThreeWrongMapper.xml

@@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
     <select id="selectThreeWrongIdByUserId" resultType="com.miaxis.question.vo.QuestionWrongIdDateVo">
 
-        select q1.id,q2.create_time from three_force q1 join question_wrong q2 on q1.id = q2.question_id
+        select q1.id,q2.create_time from three_force q1 join question_three_wrong q2 on q1.id = q2.question_id
         <where>
             <if test="userId != null and userId !='' "> and q2.user_id = #{userId}</if>
             <if test="deviceType != null and deviceType!='' "> and q2.device_type = #{deviceType}</if>
@@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
     <select id="selectThreeWrongCountByUserId" resultType="java.lang.Integer">
 
-        select count(1) from three_force q1 join question_wrong q2 on q1.id = q2.question_id
+        select count(1) from three_force q1 join question_three_wrong q2 on q1.id = q2.question_id
         <where>
             <if test="userId != null and userId !='' "> and q2.user_id = #{userId}</if>
             <if test="km != null and km!='' "> and q2.km = #{km}</if>