迭代 注册方法1.3
parent
eec30adb9a
commit
9119964586
|
@ -581,7 +581,7 @@ public class SysUserServiceImpl implements ISysUserService
|
||||||
@Transactional
|
@Transactional
|
||||||
public int registerNewUser(CommonBody commonBody) {
|
public int registerNewUser(CommonBody commonBody) {
|
||||||
//默认是患者角色
|
//默认是患者角色
|
||||||
|
System.out.println("对象是:"+commonBody);
|
||||||
int role=101;
|
int role=101;
|
||||||
//添加用户不管是患者还是医生
|
//添加用户不管是患者还是医生
|
||||||
int userId=userMapper.insertNewUser(commonBody);
|
int userId=userMapper.insertNewUser(commonBody);
|
||||||
|
|
Loading…
Reference in New Issue