user
id,
user_name,password, phone,uuid,head_image,sex,school, exam_type,source,is_delete,create_time,update_time,is_vip,openid,vip_mobile
#{userName},#{password},#{phone},#{uuid},#{headImage},#{sex},#{school},#{examType}, #{source},
#{isDelete},now(),now(),#{isVip},#{openid},#{vipMobile}
user_name = #{userName},
password =#{password},
phone =#{phone},
uuid =#{uuid},
head_image =#{headImage},
sex =#{sex},
school =#{school},
exam_type = #{examType},
source = #{source},
is_delete = #{isDelete},
update_time =now(),
is_vip = #{isVip},
openid =#{openid},
vip_mobile =#{vipMobile}
id = #{id}
and user_name = #{userName}
and password =#{password}
and phone =#{phone}
and uuid =#{uuid}
and head_image =#{headImage}
and sex =#{sex}
and school =#{school}
and exam_type = #{examType}
and source = #{source}
and is_delete = #{isDelete}
and create_time >= #{createTime}
and #{updateTime} >= update_time
and is_vip = #{isVip}
and openid =#{openid}
insert into
()
value(
)
UPDATE
id = #{id}
delete from
where id = #{id}