and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, external_user_id, union_id, external_user_id_3rd_party, `type`, `name`, avatar,
gender, is_delete, created_at, updated_at, create_time, update_time
delete from we_com_user
where id = #{id,jdbcType=BIGINT}
delete from we_com_user
insert into we_com_user (id, external_user_id, union_id,
external_user_id_3rd_party, `type`, `name`,
avatar, gender,
created_at, updated_at, create_time,
update_time)
values (#{id,jdbcType=BIGINT}, #{externalUserId,jdbcType=VARCHAR}, #{unionId,jdbcType=VARCHAR},
#{externalUserId3rdParty,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR},
#{avatar,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER},
#{createdAt,jdbcType=BIGINT}, #{updatedAt,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
insert into we_com_user
id,
external_user_id,
union_id,
external_user_id_3rd_party,
`type`,
`name`,
avatar,
gender,
is_delete,
created_at,
updated_at,
create_time,
update_time,
#{id,jdbcType=BIGINT},
#{externalUserId,jdbcType=VARCHAR},
#{unionId,jdbcType=VARCHAR},
#{externalUserId3rdParty,jdbcType=VARCHAR},
#{type,jdbcType=INTEGER},
#{name,jdbcType=VARCHAR},
#{avatar,jdbcType=VARCHAR},
#{gender,jdbcType=INTEGER},
#{isDelete,jdbcType=INTEGER},
#{createdAt,jdbcType=BIGINT},
#{updatedAt,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update we_com_user
id = #{record.id,jdbcType=BIGINT},
external_user_id = #{record.externalUserId,jdbcType=VARCHAR},
union_id = #{record.unionId,jdbcType=VARCHAR},
external_user_id_3rd_party = #{record.externalUserId3rdParty,jdbcType=VARCHAR},
`type` = #{record.type,jdbcType=INTEGER},
`name` = #{record.name,jdbcType=VARCHAR},
avatar = #{record.avatar,jdbcType=VARCHAR},
gender = #{record.gender,jdbcType=INTEGER},
is_delete = #{record.isDelete,jdbcType=INTEGER},
created_at = #{record.createdAt,jdbcType=BIGINT},
updated_at = #{record.updatedAt,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update we_com_user
set id = #{record.id,jdbcType=BIGINT},
external_user_id = #{record.externalUserId,jdbcType=VARCHAR},
union_id = #{record.unionId,jdbcType=VARCHAR},
external_user_id_3rd_party = #{record.externalUserId3rdParty,jdbcType=VARCHAR},
`type` = #{record.type,jdbcType=INTEGER},
`name` = #{record.name,jdbcType=VARCHAR},
avatar = #{record.avatar,jdbcType=VARCHAR},
gender = #{record.gender,jdbcType=INTEGER},
is_delete = #{record.isDelete,jdbcType=INTEGER},
created_at = #{record.createdAt,jdbcType=BIGINT},
updated_at = #{record.updatedAt,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update we_com_user
external_user_id = #{externalUserId,jdbcType=VARCHAR},
union_id = #{unionId,jdbcType=VARCHAR},
external_user_id_3rd_party = #{externalUserId3rdParty,jdbcType=VARCHAR},
`type` = #{type,jdbcType=INTEGER},
`name` = #{name,jdbcType=VARCHAR},
avatar = #{avatar,jdbcType=VARCHAR},
gender = #{gender,jdbcType=INTEGER},
is_delete = #{isDelete,jdbcType=INTEGER},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update we_com_user
set external_user_id = #{externalUserId,jdbcType=VARCHAR},
union_id = #{unionId,jdbcType=VARCHAR},
external_user_id_3rd_party = #{externalUserId3rdParty,jdbcType=VARCHAR},
`type` = #{type,jdbcType=INTEGER},
`name` = #{name,jdbcType=VARCHAR},
avatar = #{avatar,jdbcType=VARCHAR},
gender = #{gender,jdbcType=INTEGER},
is_delete = #{isDelete,jdbcType=INTEGER},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}