From 93af1c6ffb9ae0e894689ad3a37b548e57d54cff Mon Sep 17 00:00:00 2001
From: linzhijie <19970921lzj>
Date: 星期四, 11 三月 2021 19:10:07 +0800
Subject: [PATCH] 有注释的测评系统业务代码

---
 src/main/java/com/ots/project/exam/service/ISysUserPaperService.java |   55 +++++++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 49 insertions(+), 6 deletions(-)

diff --git a/src/main/java/com/ots/project/exam/service/ISysUserPaperService.java b/src/main/java/com/ots/project/exam/service/ISysUserPaperService.java
index d0f9e8b..1c6a8cb 100644
--- a/src/main/java/com/ots/project/exam/service/ISysUserPaperService.java
+++ b/src/main/java/com/ots/project/exam/service/ISysUserPaperService.java
@@ -1,18 +1,61 @@
 package com.ots.project.exam.service;
+
 import com.ots.project.exam.domain.SysUserPaper;
+
 import java.util.List;
 
+/**
+ * 鐢ㄦ埛浜у搧Service鎺ュ彛
+ *
+ * @author ots
+ * @date 2020-03-22
+ */
 public interface ISysUserPaperService {
-    
+    /**
+     * 鏌ヨ鐢ㄦ埛浜у搧
+     *
+     * @param userId 鐢ㄦ埛浜у搧ID
+     * @return 鐢ㄦ埛浜у搧
+     */
     SysUserPaper selectSysUserPaperById(Long userId);
-    
+
+    /**
+     * 鏌ヨ鐢ㄦ埛浜у搧鍒楄〃
+     *
+     * @param sysUserPaper 鐢ㄦ埛浜у搧
+     * @return 鐢ㄦ埛浜у搧闆嗗悎
+     */
     List<SysUserPaper> selectSysUserPaperList(SysUserPaper sysUserPaper);
-    
+
+    /**
+     * 鏂板鐢ㄦ埛浜у搧
+     *
+     * @param sysUserPaper 鐢ㄦ埛浜у搧
+     * @return 缁撴灉
+     */
     int insertSysUserPaper(SysUserPaper sysUserPaper);
-    
+
+    /**
+     * 淇敼鐢ㄦ埛浜у搧
+     *
+     * @param sysUserPaper 鐢ㄦ埛浜у搧
+     * @return 缁撴灉
+     */
     int updateSysUserPaper(SysUserPaper sysUserPaper);
-    
+
+    /**
+     * 鎵归噺鍒犻櫎鐢ㄦ埛浜у搧
+     *
+     * @param ids 闇�瑕佸垹闄ょ殑鏁版嵁ID
+     * @return 缁撴灉
+     */
     int deleteSysUserPaperByIds(String ids);
-    
+
+    /**
+     * 鍒犻櫎鐢ㄦ埛浜у搧淇℃伅
+     *
+     * @param userId 鐢ㄦ埛浜у搧ID
+     * @return 缁撴灉
+     */
     int deleteSysUserPaperById(Long userId);
 }

--
Gitblit v1.9.1