|
@@ -667,7 +667,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
}*/
|
|
|
Date date = new Date();
|
|
|
String musicGroupId = studentRegistration.getMusicGroupId();
|
|
|
-
|
|
|
+
|
|
|
studentRegistration.setCreateTime(date);
|
|
|
studentRegistration.setUpdateTime(date);
|
|
|
|
|
@@ -793,7 +793,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
}
|
|
|
studentPaymentOrder.setExpectAmount(reduce);
|
|
|
studentPaymentOrderService.insert(studentPaymentOrder);
|
|
|
-
|
|
|
+
|
|
|
//当前学员是否以前存在过当前乐团
|
|
|
if (phoneAndMusicGroupId != null) {
|
|
|
studentRegistration.setId(phoneAndMusicGroupId.getId());
|
|
@@ -1406,10 +1406,11 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
if (student == null) {
|
|
|
throw new BizException("用户注册信息不存在,无法更新");
|
|
|
}
|
|
|
+ student.setName(studentRegistration.getName());
|
|
|
student.setParentsName(studentRegistration.getParentsName());
|
|
|
student.setIdCardNo(studentRegistration.getIdCardNo());
|
|
|
- update(student);
|
|
|
- studentRegistrationDao.updateUser(student.getUserId(), student.getParentsName(), student.getIdCardNo(), studentRegistration.getCertificateType());
|
|
|
+ update(studentRegistration);
|
|
|
+ studentRegistrationDao.updateUser(student.getUserId(),student.getName(), student.getParentsName(), student.getIdCardNo(), studentRegistration.getCertificateType());
|
|
|
// 添加用户电子签章账户
|
|
|
if(CertificateTypeEnum.IDENTITY.getCode().equals(studentRegistration.getCertificateType())){
|
|
|
contractService.register(student.getUserId(), student.getParentsName(), student.getIdCardNo(), student.getParentsPhone());
|