src/main/java/org/springblade/modules/exam/mapper/ExamPaperMapper.xml
@@ -122,6 +122,9 @@ <if test="paper.examName!=null and paper.examName!=''"> and exam_name like concat('%', #{paper.examName},'%') </if> <if test="paper.examType!=null"> and exam_type = #{paper.examType} </if> </select> <delete id="UnbindSubject"> @@ -171,4 +174,13 @@ ) </select> <!--查询前缀相同的准考证数量--> <select id="getCandidateNoCount" resultType="java.lang.Integer"> select count(*) from sys_training_registration where 1=1 <if test="result!=null and result!=''"> and candidate_no like concat('%', #{result},'%') </if> </select> </mapper>