insert into miaosha_user (id, nickname, salt, register_date,last_login_date,login_Count ) values
(#{id,jdbcType=BIGINT},#{nickname,jdbcType=VARCHAR},
#{salt,jdbcType=VARCHAR},#{registerDate,jdbcType=DATE},#{lastLoginDate,jdbcType=DATE},
#{loginCount,jdbcType=INTEGER}
)
insert into miaosha_user (id, nickname, salt, register_date,last_login_date,login_Count ) values
(#{item.id,jdbcType=BIGINT},#{item.nickname,jdbcType=VARCHAR},
#{item.salt,jdbcType=VARCHAR},#{item.registerDate,jdbcType=DATE},#{item.lastLoginDate,jdbcType=DATE},
#{item.loginCount,jdbcType=INTEGER}
)
update miaosha_user set nickname = #{nickname},
login_Count = #{loginCount}
where id=#{id}
delete from miaosha_user
where id = #{id,jdbcType=BIGINT}
id, nickname, salt, register_date,last_login_date,login_Count