From d62d3df997839e1b2f2036ebe55eea339cdb56d4 Mon Sep 17 00:00:00 2001 From: shijie <648688341@qq.com> Date: Fri, 7 Aug 2020 15:31:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=B8=80=E7=82=B9=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yipin/liuwanr/service/AssesmentRecordService.java | 10 ++++++++-- .../com/yipin/liuwanr/service/AssesmentService.java | 10 ++++++++++ .../com/yipin/liuwanr/service/AttendanceService.java | 2 +- .../liuwanr/service/CoursePermissionsService.java | 1 + 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/yipin/liuwanr/service/AssesmentRecordService.java b/src/main/java/com/yipin/liuwanr/service/AssesmentRecordService.java index 3a5885a..6f27470 100644 --- a/src/main/java/com/yipin/liuwanr/service/AssesmentRecordService.java +++ b/src/main/java/com/yipin/liuwanr/service/AssesmentRecordService.java @@ -21,8 +21,14 @@ public class AssesmentRecordService { @Autowired private AssesmentRecordMapper mapper; - - + + + /** + * 根据课程id查询学生信息 + * @param studentId + * @param courseId + * @return + */ public HashMap queryStudentAssessment(Integer studentId,Integer courseId){ HashMap resp = new HashMap(); AssesmentRecordVo vo=null; diff --git a/src/main/java/com/yipin/liuwanr/service/AssesmentService.java b/src/main/java/com/yipin/liuwanr/service/AssesmentService.java index b8a23b7..19577ad 100644 --- a/src/main/java/com/yipin/liuwanr/service/AssesmentService.java +++ b/src/main/java/com/yipin/liuwanr/service/AssesmentService.java @@ -638,6 +638,11 @@ public class AssesmentService { } + /** + * 删除考核 + * @param assesmentId + * @return + */ public HashMap deleteAssesment(Integer assesmentId) { HashMap resp = new HashMap(); try { @@ -655,6 +660,11 @@ public class AssesmentService { return resp; } + /** + * 判断考核名称是否已存在 + * @param assesmentName + * @return + */ public HashMap isNameExistis(String assesmentName) { HashMap resp = new HashMap(); try { diff --git a/src/main/java/com/yipin/liuwanr/service/AttendanceService.java b/src/main/java/com/yipin/liuwanr/service/AttendanceService.java index a18004f..8770c87 100644 --- a/src/main/java/com/yipin/liuwanr/service/AttendanceService.java +++ b/src/main/java/com/yipin/liuwanr/service/AttendanceService.java @@ -34,7 +34,7 @@ public class AttendanceService { /** - * 考勤记录 + * 查询考勤记录 * @param studentId * @param courseId * @param pageNo diff --git a/src/main/java/com/yipin/liuwanr/service/CoursePermissionsService.java b/src/main/java/com/yipin/liuwanr/service/CoursePermissionsService.java index 6c22563..f8787de 100644 --- a/src/main/java/com/yipin/liuwanr/service/CoursePermissionsService.java +++ b/src/main/java/com/yipin/liuwanr/service/CoursePermissionsService.java @@ -235,6 +235,7 @@ public class CoursePermissionsService { } return resp; } + public HashMap isShelves(Course course){ HashMap resp = new HashMap(); try {