补充一点注释

master
shijie 4 years ago
parent c27e98c04b
commit d62d3df997
  1. 10
      src/main/java/com/yipin/liuwanr/service/AssesmentRecordService.java
  2. 10
      src/main/java/com/yipin/liuwanr/service/AssesmentService.java
  3. 2
      src/main/java/com/yipin/liuwanr/service/AttendanceService.java
  4. 1
      src/main/java/com/yipin/liuwanr/service/CoursePermissionsService.java

@ -21,8 +21,14 @@ public class AssesmentRecordService {
@Autowired @Autowired
private AssesmentRecordMapper mapper; private AssesmentRecordMapper mapper;
/**
* 根据课程id查询学生信息
* @param studentId
* @param courseId
* @return
*/
public HashMap<String, Object> queryStudentAssessment(Integer studentId,Integer courseId){ public HashMap<String, Object> queryStudentAssessment(Integer studentId,Integer courseId){
HashMap<String, Object> resp = new HashMap<String, Object>(); HashMap<String, Object> resp = new HashMap<String, Object>();
AssesmentRecordVo vo=null; AssesmentRecordVo vo=null;

@ -638,6 +638,11 @@ public class AssesmentService {
} }
/**
* 删除考核
* @param assesmentId
* @return
*/
public HashMap<String, Object> deleteAssesment(Integer assesmentId) { public HashMap<String, Object> deleteAssesment(Integer assesmentId) {
HashMap<String, Object> resp = new HashMap<String, Object>(); HashMap<String, Object> resp = new HashMap<String, Object>();
try { try {
@ -655,6 +660,11 @@ public class AssesmentService {
return resp; return resp;
} }
/**
* 判断考核名称是否已存在
* @param assesmentName
* @return
*/
public HashMap<String, Object> isNameExistis(String assesmentName) { public HashMap<String, Object> isNameExistis(String assesmentName) {
HashMap<String, Object> resp = new HashMap<String, Object>(); HashMap<String, Object> resp = new HashMap<String, Object>();
try { try {

@ -34,7 +34,7 @@ public class AttendanceService {
/** /**
* 考勤记录 * 查询考勤记录
* @param studentId * @param studentId
* @param courseId * @param courseId
* @param pageNo * @param pageNo

@ -235,6 +235,7 @@ public class CoursePermissionsService {
} }
return resp; return resp;
} }
public HashMap<String, Object> isShelves(Course course){ public HashMap<String, Object> isShelves(Course course){
HashMap<String, Object> resp = new HashMap<String, Object>(); HashMap<String, Object> resp = new HashMap<String, Object>();
try { try {

Loading…
Cancel
Save