迭代 注册方法1.3

master
冯凯 2023-10-20 20:42:13 +08:00
parent b70091fb53
commit 8d0aea5bc6
1 changed files with 3 additions and 3 deletions

View File

@ -188,10 +188,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
insert into tb_patient(
<if test="patientId!=null"> patient_id,</if>
<if test="name!=null and name!=''">patient_name,</if>
<if test="password!=null and password!=''">patient_password,</if>
<if test="email!=null and email!=''">patient_email,</if>
<if test="password!=null and password!=''">password,</if>
<if test="email!=null and email!=''">email,</if>
<if test="inviteCode!=null and inviteCode!=''">invite_code,</if>
<if test="avatar!=null and avatar!=''"> patient_avatar,</if>
<if test="avatar!=null and avatar!=''">avatar,</if>
<if test="gender!=null">gender,</if>
<if test="height!=null">height,</if>
<if test="weight!=null">weight,</if>