|
@@ -130,6 +130,13 @@ public class AssessmentTemplatePlanController {
|
|
|
}
|
|
}
|
|
|
templatePlan.setStatus(dto.getStatus());
|
|
templatePlan.setStatus(dto.getStatus());
|
|
|
planService.updateById(templatePlan);
|
|
planService.updateById(templatePlan);
|
|
|
|
|
+ if(dto.getStatus() == 1){
|
|
|
|
|
+ if(templatePlan.getIsNeedConfirm() == 1){
|
|
|
|
|
+ planService.sendMsgToTeacher(templatePlan);
|
|
|
|
|
+ }else{
|
|
|
|
|
+ planService.sendMsgToClass(templatePlan);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
return RT.ok(true);
|
|
return RT.ok(true);
|
|
|
}
|
|
}
|
|
|
|
|
|