|
|
@@ -53,6 +53,9 @@ public class WfStudentRepeatStudyNode extends NodeComponent {
|
|
|
@Autowired
|
|
|
private UserMapper userMapper;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private IBaseStudentSchoolRollService schoolRollService;
|
|
|
+
|
|
|
|
|
|
@Override
|
|
|
public void process() throws Exception {
|
|
|
@@ -136,6 +139,15 @@ public class WfStudentRepeatStudyNode extends NodeComponent {
|
|
|
baseStudentUser.setBaseStudentSubsidizeList(baseStudentSubsidizeList);
|
|
|
|
|
|
studentService.add(baseStudentUser);
|
|
|
+ }else{
|
|
|
+ schoolRollService.activateStudent(user.getId());
|
|
|
+ schoolRollService.updateStudentClassGradeMajorStduyStatus(
|
|
|
+ Long.parseLong(objectMap.get("class_id").toString()),
|
|
|
+ Long.parseLong(objectMap.get("grade_id").toString()),
|
|
|
+ Long.parseLong(objectMap.get("major_set_id").toString()),
|
|
|
+ objectMap.get("stduy_status").toString(),
|
|
|
+ user.getId()
|
|
|
+ );
|
|
|
}
|
|
|
}
|
|
|
});
|