master
冯凯 2023-10-27 12:03:06 +08:00
parent f40574df00
commit 1daa958e1e
1 changed files with 0 additions and 2 deletions

View File

@ -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);