修改1
parent
f40574df00
commit
1daa958e1e
|
@ -609,7 +609,6 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
@Transactional
|
||||
public Boolean registerDoctor(Doctor doctor) {
|
||||
|
||||
checkEmail(doctor.getEmail());
|
||||
Integer roleId=100;
|
||||
//添加用户表
|
||||
int count=userMapper.registerDoctor(doctor);
|
||||
|
@ -655,7 +654,6 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
@Override
|
||||
@Transactional
|
||||
public Boolean registerPatient(Patient patient) {
|
||||
checkEmail(patient.getEmail());
|
||||
Integer roleId=101;
|
||||
//
|
||||
patient.setStatus(1);
|
||||
|
|
Loading…
Reference in New Issue