haogh 8 months ago
parent
commit
2298a003a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/StudentApplyMapper.xml

+ 1 - 1
src/main/resources/mapper/StudentApplyMapper.xml

@@ -275,7 +275,7 @@
           AND sa.cancel = 0
           AND sa.cancel = 0
           AND s.apply_task_id = #{taskId}
           AND s.apply_task_id = #{taskId}
         <if test="req.teachingId != null">
         <if test="req.teachingId != null">
-            AND s.category_id= #{teachingId}
+            AND s.category_id= #{req.teachingId}
         </if>
         </if>
         <if test="req.agentId != null">
         <if test="req.agentId != null">
             and sa.exam_site_id=#{req.agentId}
             and sa.exam_site_id=#{req.agentId}