迭代 注册方法1.3
parent
8d0aea5bc6
commit
eec30adb9a
|
@ -198,8 +198,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="age!=null">age,</if>
|
<if test="age!=null">age,</if>
|
||||||
<if test="wechatNumber!=null and wechatNumber!=''">wechat_number,</if>
|
<if test="wechatNumber!=null and wechatNumber!=''">wechat_number,</if>
|
||||||
)
|
)
|
||||||
values
|
values(
|
||||||
(
|
|
||||||
<if test="patientId!=null">#{patientId},</if>
|
<if test="patientId!=null">#{patientId},</if>
|
||||||
<if test="name!=null and name!=''">#{name},</if>
|
<if test="name!=null and name!=''">#{name},</if>
|
||||||
<if test="password!=null and password!=''">#{password},</if>
|
<if test="password!=null and password!=''">#{password},</if>
|
||||||
|
@ -210,8 +209,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="height!=null">#{height},</if>
|
<if test="height!=null">#{height},</if>
|
||||||
<if test="weight!=null">#{weight},</if>
|
<if test="weight!=null">#{weight},</if>
|
||||||
<if test="age!=null">#{age},</if>
|
<if test="age!=null">#{age},</if>
|
||||||
<if test="wechatNumber!=null and wechatNumber!=''">#{wechatNumber},</if>
|
<if test="wechatNumber!=null and wechatNumber!=''">#{wechatNumber},</if>)
|
||||||
)
|
|
||||||
</when>
|
</when>
|
||||||
<otherwise>
|
<otherwise>
|
||||||
insert into tb_doctor
|
insert into tb_doctor
|
||||||
|
|
Loading…
Reference in New Issue