id, code, userId, userName
delete from inv_warehouse_user
where id = #{id,jdbcType=INTEGER}
insert into inv_warehouse_user (code, userId, userName
)
values (#{code,jdbcType=VARCHAR}, #{userid,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}
)
insert into inv_warehouse_user
code,
userId,
userName,
#{code,jdbcType=VARCHAR},
#{userid,jdbcType=BIGINT},
#{username,jdbcType=VARCHAR},
update inv_warehouse_user
code = #{code,jdbcType=VARCHAR},
userId = #{userid,jdbcType=BIGINT},
userName = #{username,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update inv_warehouse_user
set code = #{code,jdbcType=VARCHAR},
userId = #{userid,jdbcType=BIGINT},
userName = #{username,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
update inv_warehouse_user
when id = #{item.id,jdbcType=INTEGER} then #{item.code,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.userid,jdbcType=BIGINT}
when id = #{item.id,jdbcType=INTEGER} then #{item.username,jdbcType=VARCHAR}
where id in
#{item.id,jdbcType=INTEGER}
update inv_warehouse_user
when id = #{item.id,jdbcType=INTEGER} then #{item.code,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.userid,jdbcType=BIGINT}
when id = #{item.id,jdbcType=INTEGER} then #{item.username,jdbcType=VARCHAR}
where id in
#{item.id,jdbcType=INTEGER}
insert into inv_warehouse_user
(code, userId, userName)
values
(#{item.code,jdbcType=VARCHAR}, #{item.userid,jdbcType=BIGINT}, #{item.username,jdbcType=VARCHAR}
)
insert into inv_warehouse_user
id,
code,
userId,
userName,
values
#{id,jdbcType=INTEGER},
#{code,jdbcType=VARCHAR},
#{userid,jdbcType=BIGINT},
#{username,jdbcType=VARCHAR},
on duplicate key update
id = #{id,jdbcType=INTEGER},
code = #{code,jdbcType=VARCHAR},
userId = #{userid,jdbcType=BIGINT},
userName = #{username,jdbcType=VARCHAR},
insert into inv_warehouse_user
id,
code,
userId,
userName,
values
#{id,jdbcType=INTEGER},
#{code,jdbcType=VARCHAR},
#{userid,jdbcType=BIGINT},
#{username,jdbcType=VARCHAR},
on duplicate key update
id = #{id,jdbcType=INTEGER},
code = #{code,jdbcType=VARCHAR},
userId = #{userid,jdbcType=BIGINT},
userName = #{username,jdbcType=VARCHAR},