Pārlūkot izejas kodu

不同类型请求题目接口问题

chen 5 gadi atpakaļ
vecāks
revīzija
2b061f8677

+ 4 - 4
ssj-mybatis-service-impl/src/main/resources/mybatis/mapper/KmtExerciseMapper.xml

@@ -112,16 +112,16 @@
         from kmt_exercise_questions eq  left join kmt_exercise_book eb on eq.exercise_book_id=eb.id
         where eq.book_course_id = #{bookCourseId} and (eq.exercise_book_id=#{exerciseBookId} or eq.is_common_flag = 0)
         <if test = "dealType == 2">
-            and eq.deal_status in (3, 7) and auditing_user_id=#{userId}
+            and eq.deal_status in (3, 7) and eb.auditing_user_id=#{userId}
         </if>
         <if test = "dealType == 1">
-            and eq.deal_status &lt; 2 and handle_user_id=#{userId}
+            and eq.deal_status &lt; 2 and eb.handle_user_id=#{userId}
         </if>
         <if test = "dealType == 4">
-            and eq.deal_status in (5, 8) and analysis_user_id=#{userId}
+            and eq.deal_status in (5, 8) and eb.analysis_user_id=#{userId}
         </if>
         <if test = "dealType == 5">
-            and eq.deal_status in (9, 10) and analysis_auditer_id = #{userId}
+            and eq.deal_status in (9, 10) and eb.analysis_auditer_id = #{userId}
         </if>
         <if test = "dealType == 6">
             and eq.deal_status >= 4 and eq.deal_status != 7 and eb.answer_correcter_id=#{userId} and eq.proofread_status = 0