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