From 24fd92d92b1da73361a6873f31e969af78aeeee8 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 28 十一月 2024 11:57:50 +0800
Subject: [PATCH] 导入题目时,如果课目不存在自动创建

---
 src/main/java/com/mindskip/xzs/service/ExamPaperUserService.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/mindskip/xzs/service/ExamPaperUserService.java b/src/main/java/com/mindskip/xzs/service/ExamPaperUserService.java
index 2e40a5d..d41a493 100644
--- a/src/main/java/com/mindskip/xzs/service/ExamPaperUserService.java
+++ b/src/main/java/com/mindskip/xzs/service/ExamPaperUserService.java
@@ -1,7 +1,6 @@
 package com.mindskip.xzs.service;
 
 import com.mindskip.xzs.domain.ExamPaperUser;
-import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
 
@@ -16,4 +15,7 @@
     List<ExamPaperUser> getByExamPaperId(Integer examPaperId);
 
     Integer removeByExamPaperId(Integer examPaperId);
+
+
+    Integer getByPaperIdAndCreatUser(Integer examPaperId, Integer createUser);
 }

--
Gitblit v1.8.0