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