|
|
@ -27,8 +27,10 @@ public class AchievementManagementController implements AchievementManagementApi |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
private ProjectRecordService projectRecordService; |
|
|
|
private ProjectRecordService projectRecordService; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 查询用户实验报告 |
|
|
|
* 查询用户实验报告 |
|
|
|
|
|
|
|
* |
|
|
|
* @param projectId |
|
|
|
* @param projectId |
|
|
|
* @param |
|
|
|
* @param |
|
|
|
* @return |
|
|
|
* @return |
|
|
@ -42,6 +44,7 @@ public class AchievementManagementController implements AchievementManagementApi |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 查询用户实验报告 |
|
|
|
* 查询用户实验报告 |
|
|
|
|
|
|
|
* |
|
|
|
* @param userId |
|
|
|
* @param userId |
|
|
|
* @param reportId |
|
|
|
* @param reportId |
|
|
|
* @param |
|
|
|
* @param |
|
|
@ -55,7 +58,6 @@ public class AchievementManagementController implements AchievementManagementApi |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 查询实验记录 |
|
|
|
* 查询实验记录 |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -190,6 +192,7 @@ public class AchievementManagementController implements AchievementManagementApi |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 需求:删除实验记录====管理端删除,但是学生端仍需保留 |
|
|
|
* 需求:删除实验记录====管理端删除,但是学生端仍需保留 |
|
|
|
* 将isdel属性设置为0 |
|
|
|
* 将isdel属性设置为0 |
|
|
|
|
|
|
|
* |
|
|
|
* @param reportId |
|
|
|
* @param reportId |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -203,6 +206,7 @@ public class AchievementManagementController implements AchievementManagementApi |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 班级实验报告列表查询 |
|
|
|
* 班级实验报告列表查询 |
|
|
|
|
|
|
|
* |
|
|
|
* @param searchContant |
|
|
|
* @param searchContant |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -218,6 +222,7 @@ public class AchievementManagementController implements AchievementManagementApi |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 班级实验成绩导出 |
|
|
|
* 班级实验成绩导出 |
|
|
|
|
|
|
|
* |
|
|
|
* @param response |
|
|
|
* @param response |
|
|
|
* @param ids (ids:recordId) |
|
|
|
* @param ids (ids:recordId) |
|
|
|
* @throws Exception |
|
|
|
* @throws Exception |
|
|
@ -243,6 +248,7 @@ public class AchievementManagementController implements AchievementManagementApi |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 修改评语 |
|
|
|
* 修改评语 |
|
|
|
|
|
|
|
* |
|
|
|
* @param entity |
|
|
|
* @param entity |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -256,6 +262,7 @@ public class AchievementManagementController implements AchievementManagementApi |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 发布成绩: |
|
|
|
* 发布成绩: |
|
|
|
* 修改教师签名+修改教师评语 |
|
|
|
* 修改教师签名+修改教师评语 |
|
|
|
|
|
|
|
* |
|
|
|
* @param entity (isSignature,signatureId,reportId,comment) |
|
|
|
* @param entity (isSignature,signatureId,reportId,comment) |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -269,6 +276,7 @@ public class AchievementManagementController implements AchievementManagementApi |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 删除成绩管理中的项目 |
|
|
|
* 删除成绩管理中的项目 |
|
|
|
|
|
|
|
* |
|
|
|
* @param projectId |
|
|
|
* @param projectId |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -297,4 +305,12 @@ public class AchievementManagementController implements AchievementManagementApi |
|
|
|
List<AchievementManagementVO> result = service.getTeachAchievement(id); |
|
|
|
List<AchievementManagementVO> result = service.getTeachAchievement(id); |
|
|
|
return R.ok().put("data", result); |
|
|
|
return R.ok().put("data", result); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
@PostMapping("/modify") |
|
|
|
|
|
|
|
public R modify(@RequestBody ExperimentalReportEntity entity) { |
|
|
|
|
|
|
|
Integer code = service.modify(entity); |
|
|
|
|
|
|
|
return R.ok(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|