|
@@ -638,6 +638,6 @@
|
|
AND pg.student_id_ = #{studentId}
|
|
AND pg.student_id_ = #{studentId}
|
|
</select>
|
|
</select>
|
|
<select id="checkStudentExitChargePractice" resultType="int">
|
|
<select id="checkStudentExitChargePractice" resultType="int">
|
|
- SELECT COUNT(id_) FROM practice_group WHERE type_='CHARGE' AND student_id_=#{studentId}
|
|
|
|
|
|
+ SELECT COUNT(id_) FROM practice_group WHERE type_='CHARGE' AND student_id_=#{studentId} AND group_status_ IN ('NORMAL', 'FINISH')
|
|
</select>
|
|
</select>
|
|
</mapper>
|
|
</mapper>
|