@@ -14,4 +15,7 @@ public interface PaperPhotoMapper {
@Delete("delete from paper_photo where paperId = #{paperId} and questionType = #{questionType} and questionId = #{questionId}")
intdeletePaperPhoto(PaperPhotopaperPhoto);
@Delete("delete from paper_photo where questionid = #{questionid} and questionType = #{questionType} and paperid = (select paperid from exam_manage where type = #{subject})")