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, staff_id, user_id, is_delete, delete_time, create_time, update_time
delete from we_com_staff_with_user
where id = #{id,jdbcType=BIGINT}
delete from we_com_staff_with_user
insert into we_com_staff_with_user (id, staff_id, user_id, delete_time, create_time,
update_time)
values (#{id,jdbcType=BIGINT}, #{staffId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT},
#{deleteTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
insert into we_com_staff_with_user
id,
staff_id,
user_id,
is_delete,
delete_time,
create_time,
update_time,
#{id,jdbcType=BIGINT},
#{staffId,jdbcType=BIGINT},
#{userId,jdbcType=BIGINT},
#{isDelete,jdbcType=INTEGER},
#{deleteTime,jdbcType=TIMESTAMP},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update we_com_staff_with_user
id = #{record.id,jdbcType=BIGINT},
staff_id = #{record.staffId,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
is_delete = #{record.isDelete,jdbcType=INTEGER},
delete_time = #{record.deleteTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update we_com_staff_with_user
set id = #{record.id,jdbcType=BIGINT},
staff_id = #{record.staffId,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
is_delete = #{record.isDelete,jdbcType=INTEGER},
delete_time = #{record.deleteTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update we_com_staff_with_user
staff_id = #{staffId,jdbcType=BIGINT},
user_id = #{userId,jdbcType=BIGINT},
is_delete = #{isDelete,jdbcType=INTEGER},
delete_time = #{deleteTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update we_com_staff_with_user
set staff_id = #{staffId,jdbcType=BIGINT},
user_id = #{userId,jdbcType=BIGINT},
is_delete = #{isDelete,jdbcType=INTEGER},
delete_time = #{deleteTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}
insert into we_com_staff_with_user
(
staff_id,
user_id,
is_delete,
delete_time,
create_time,
update_time
)
values
(
#{item.staffId,jdbcType=BIGINT},
#{item.userId,jdbcType=BIGINT},
#{item.isDelete,jdbcType=INTEGER},
#{item.deleteTime,jdbcType=TIMESTAMP},
#{item.createTime,jdbcType=TIMESTAMP},
#{item.updateTime,jdbcType=TIMESTAMP}
)