select model_id, model_name, product_id, product_name, tenant_id, tenant_name, identifier, type, datatype, formula, specs, is_chart, is_share_perm, is_history, is_monitor, is_app, del_flag, create_by, create_time, update_by, update_time, remark, is_readonly, model_order from iot_things_model insert into iot_things_model model_name, product_id, product_name, tenant_id, tenant_name, identifier, type, datatype, formula, specs, is_chart, is_share_perm, is_history, is_app, is_monitor, del_flag, create_by, create_time, update_by, update_time, remark, is_readonly, model_order, #{modelName}, #{productId}, #{productName}, #{tenantId}, #{tenantName}, #{identifier}, #{type}, #{datatype}, #{formula}, #{specs}, #{isChart}, #{isSharePerm}, #{isHistory}, #{isMonitor}, #{isApp}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{isReadonly}, #{modelOrder}, INSERT INTO iot_things_model ( model_name, product_id, product_name, tenant_id, tenant_name, identifier, type, datatype, specs, is_chart, is_share_perm, is_history, is_monitor, is_app, is_readonly, create_by, create_time, formula ) VALUES #{model.modelName},#{model.productId},#{model.productName},#{model.tenantId}, #{model.tenantName},#{model.identifier},#{model.type},#{model.datatype}, #{model.specs},#{model.isChart},#{model.isSharePerm},#{model.isHistory}, #{model.isMonitor},#{model.isApp},#{model.isReadonly},#{model.createBy},#{model.createTime}, #{model.formula} update iot_things_model model_name = #{modelName}, product_id = #{productId}, product_name = #{productName}, tenant_id = #{tenantId}, tenant_name = #{tenantName}, identifier = #{identifier}, type = #{type}, datatype = #{datatype}, formula = #{formula}, specs = #{specs}, is_chart = #{isChart}, is_share_perm = #{isSharePerm}, is_history = #{isHistory}, is_monitor = #{isMonitor}, is_app = #{isApp}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, is_readonly = #{isReadonly}, model_order = #{modelOrder}, where model_id = #{modelId} delete from iot_things_model where model_id = #{modelId} delete from iot_things_model where model_id in #{modelId} delete from iot_things_model where product_id = #{productId}