增加 注册医生接口1.0
parent
494e2ad4a5
commit
e2e82da714
|
@ -617,6 +617,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
doctor1.setTitleId(doctor.getTitleId());
|
||||
doctor1.setPersonalFile(doctor.getPersonalFile());
|
||||
doctor1.setInauguralHospital(doctor.getInauguralHospital());
|
||||
doctor1.setGoodFiled(doctor.getGoodFiled());
|
||||
userMapper.insertDoctor(doctor1);
|
||||
|
||||
int i=userMapper.insertUseRole(userId,roleId);
|
||||
|
|
|
@ -260,7 +260,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="departmentId!=null">department_id,</if>
|
||||
<if test="titleId!=null">title_id,</if>
|
||||
<if test="personalFile!=null and personalFile!=''">personal_profile,</if>
|
||||
<if test="goodField!=null and goodField!=''">good_field,</if>
|
||||
<if test="goodFiled!=null and goodFiled!=''">good_filed,</if>
|
||||
</trim>
|
||||
values
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
|
@ -269,7 +269,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="departmentId!=null">#{departmentId},</if>
|
||||
<if test="titleId!=null">#{titleId},</if>
|
||||
<if test="personalFile!=null and personalFile!=''">#{personalFile},</if>
|
||||
<if test="goodField!=null and goodField!=''">#{goodFiled},</if>
|
||||
<if test="goodFiled!=null and goodFiled!=''">#{goodFiled},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<insert id="insertUseRole">
|
||||
|
|
Loading…
Reference in New Issue