id, name, type, connection_type, address, port, sub_type, status, shop_id, category_ids,
content_type, created_at, updated_at, sort, vendor_id, product_id
config, category_list
delete from tb_print_machine
where id = #{id,jdbcType=INTEGER}
insert into tb_print_machine (id, name, type,
connection_type, address, port,
sub_type, status, shop_id,
category_ids, content_type, created_at,
updated_at, sort, vendor_id,
product_id, config, category_list
)
values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR},
#{connectionType,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{port,jdbcType=VARCHAR},
#{subType,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT}, #{shopId,jdbcType=VARCHAR},
#{categoryIds,jdbcType=VARCHAR}, #{contentType,jdbcType=VARCHAR}, #{createdAt,jdbcType=BIGINT},
#{updatedAt,jdbcType=BIGINT}, #{sort,jdbcType=INTEGER}, #{vendorId,jdbcType=VARCHAR},
#{productId,jdbcType=VARCHAR}, #{config,jdbcType=LONGVARCHAR}, #{categoryList,jdbcType=LONGVARCHAR}
)
insert into tb_print_machine
id,
name,
type,
connection_type,
address,
port,
sub_type,
status,
shop_id,
category_ids,
content_type,
created_at,
updated_at,
sort,
vendor_id,
product_id,
config,
category_list,
#{id,jdbcType=INTEGER},
#{name,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR},
#{connectionType,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR},
#{port,jdbcType=VARCHAR},
#{subType,jdbcType=VARCHAR},
#{status,jdbcType=TINYINT},
#{shopId,jdbcType=VARCHAR},
#{categoryIds,jdbcType=VARCHAR},
#{contentType,jdbcType=VARCHAR},
#{createdAt,jdbcType=BIGINT},
#{updatedAt,jdbcType=BIGINT},
#{sort,jdbcType=INTEGER},
#{vendorId,jdbcType=VARCHAR},
#{productId,jdbcType=VARCHAR},
#{config,jdbcType=LONGVARCHAR},
#{categoryList,jdbcType=LONGVARCHAR},
update tb_print_machine
name = #{name,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
connection_type = #{connectionType,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
port = #{port,jdbcType=VARCHAR},
sub_type = #{subType,jdbcType=VARCHAR},
status = #{status,jdbcType=TINYINT},
shop_id = #{shopId,jdbcType=VARCHAR},
category_ids = #{categoryIds,jdbcType=VARCHAR},
content_type = #{contentType,jdbcType=VARCHAR},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
sort = #{sort,jdbcType=INTEGER},
vendor_id = #{vendorId,jdbcType=VARCHAR},
product_id = #{productId,jdbcType=VARCHAR},
config = #{config,jdbcType=LONGVARCHAR},
category_list = #{categoryList,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=INTEGER}
update tb_print_machine
set name = #{name,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
connection_type = #{connectionType,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
port = #{port,jdbcType=VARCHAR},
sub_type = #{subType,jdbcType=VARCHAR},
status = #{status,jdbcType=TINYINT},
shop_id = #{shopId,jdbcType=VARCHAR},
category_ids = #{categoryIds,jdbcType=VARCHAR},
content_type = #{contentType,jdbcType=VARCHAR},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
sort = #{sort,jdbcType=INTEGER},
vendor_id = #{vendorId,jdbcType=VARCHAR},
product_id = #{productId,jdbcType=VARCHAR},
config = #{config,jdbcType=LONGVARCHAR},
category_list = #{categoryList,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
update tb_print_machine
set name = #{name,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
connection_type = #{connectionType,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
port = #{port,jdbcType=VARCHAR},
sub_type = #{subType,jdbcType=VARCHAR},
status = #{status,jdbcType=TINYINT},
shop_id = #{shopId,jdbcType=VARCHAR},
category_ids = #{categoryIds,jdbcType=VARCHAR},
content_type = #{contentType,jdbcType=VARCHAR},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
sort = #{sort,jdbcType=INTEGER},
vendor_id = #{vendorId,jdbcType=VARCHAR},
product_id = #{productId,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}