|
|
|
@ -52,7 +52,7 @@ public class EvaluationServiceImpl implements EvaluationService {
|
|
|
|
|
private AppraiseRepository appraiseRepository;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 通用的获取 evaluation 的方法: 判断参数,判断数据是否为空 <br/>
|
|
|
|
|
* 通用的获取用户学校和学段对应的 appraise 的方法: 判断参数,判断数据是否为空 <br/>
|
|
|
|
|
* 从 token 中获取 schoolId
|
|
|
|
|
*/
|
|
|
|
|
private Appraise findAppraise(String periodId) {
|
|
|
|
@ -154,7 +154,6 @@ public class EvaluationServiceImpl implements EvaluationService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Appraise insertNode(InsertNodeDto insertNodeDto) {
|
|
|
|
|
// todo: 如果不存在
|
|
|
|
|
Appraise appraise = findAppraise(insertNodeDto.getPeriodId());
|
|
|
|
|
User loginUser = SecurityUtil.getLoginUser();
|
|
|
|
|
|
|
|
|
|