瀏覽代碼

周次查询调整

dzx 11 月之前
父節點
當前提交
f29897339e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/assessment/AssessmentTemplatePlanMapper.xml

+ 1 - 1
src/main/resources/mapper/assessment/AssessmentTemplatePlanMapper.xml

@@ -32,7 +32,7 @@
         LEFT JOIN assessment_plan_answer_student t3 ON t3.assessment_template_plan_id = t1.id
         left join base_student_school_roll t4 on t3.student_user_id = t4.user_id
         WHERE t1.delete_mark = 0 AND t1.status = 1 AND t3.student_user_id = #{dto.studentUserId}
-        and t3.is_confirm = 1 and t1.stduy_status = t4.stduy_status
+        and t3.is_confirm = t1.is_need_confirm and t1.stduy_status = t4.stduy_status
         <if test="dto.name != null and dto.name != ''">
             and t1.name like concat('%', #{dto.name}, '%')
         </if>