id, code, `name`, type, invStorageCode, invWarehouseCode, `status`, createTime, updateTime, `createUser`, updateUser, remark delete from auth_space where id = #{id,jdbcType=INTEGER} insert into auth_space (code, `name`, type, invStorageCode, invWarehouseCode, `status`, createTime, updateTime, `createUser`, updateUser, remark) values (#{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{invStorageCode,jdbcType=VARCHAR}, #{invWarehouseCode,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{createUser,jdbcType=VARCHAR}, #{updateUser,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}) insert into auth_space code, `name`, type, invStorageCode, invWarehouseCode, `status`, createTime, updateTime, `createUser`, updateUser, remark, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{invStorageCode,jdbcType=VARCHAR}, #{invWarehouseCode,jdbcType=VARCHAR}, #{status,jdbcType=BOOLEAN}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{createUser,jdbcType=VARCHAR}, #{updateUser,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, update auth_space code = #{code,jdbcType=VARCHAR}, `name` = #{name,jdbcType=VARCHAR}, type = #{type,jdbcType=VARCHAR}, invStorageCode = #{invStorageCode,jdbcType=VARCHAR}, invWarehouseCode = #{invWarehouseCode,jdbcType=VARCHAR}, `status` = #{status,jdbcType=BOOLEAN}, createTime = #{createTime,jdbcType=TIMESTAMP}, updateTime = #{updateTime,jdbcType=TIMESTAMP}, `createUser` = #{createUser,jdbcType=VARCHAR}, updateUser = #{updateUser,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, where id = #{id,jdbcType=INTEGER} update auth_space set code = #{code,jdbcType=VARCHAR}, `name` = #{name,jdbcType=VARCHAR}, type = #{type,jdbcType=VARCHAR}, invStorageCode = #{invStorageCode,jdbcType=VARCHAR}, invWarehouseCode = #{invWarehouseCode,jdbcType=VARCHAR}, `status` = #{status,jdbcType=BOOLEAN}, createTime = #{createTime,jdbcType=TIMESTAMP}, updateTime = #{updateTime,jdbcType=TIMESTAMP}, `createUser` = #{createUser,jdbcType=VARCHAR}, updateUser = #{updateUser,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER} update auth_space when id = #{item.id,jdbcType=INTEGER} then #{item.code,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.name,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.type,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.invStorageCode,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.invWarehouseCode,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.status,jdbcType=BOOLEAN} when id = #{item.id,jdbcType=INTEGER} then #{item.createTime,jdbcType=TIMESTAMP} when id = #{item.id,jdbcType=INTEGER} then #{item.updateTime,jdbcType=TIMESTAMP} when id = #{item.id,jdbcType=INTEGER} then #{item.createUser,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.updateUser,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.remark,jdbcType=VARCHAR} where id in #{item.id,jdbcType=INTEGER} insert into auth_space (code, `name`, type, invStorageCode, invWarehouseCode, `status`, createTime, updateTime, `createUser`, updateUser, remark) values (#{item.code,jdbcType=VARCHAR}, #{item.name,jdbcType=VARCHAR}, #{item.type,jdbcType=VARCHAR}, #{item.invStorageCode,jdbcType=VARCHAR}, #{item.invWarehouseCode,jdbcType=VARCHAR}, #{item.status,jdbcType=BOOLEAN}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.createUser,jdbcType=VARCHAR}, #{item.updateUser,jdbcType=VARCHAR}, #{item.remark,jdbcType=VARCHAR})