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