select lube_standard_id, lube_standard_code, device_type_id, lube_protocol, operation_description, is_flag, remark, create_by, create_time, update_by, update_time from dms_base_lube_standard SELECT HAIWEI.SEQ_DMS_LUBE_STD.NEXTVAL FROM DUAL insert into dms_base_lube_standard lube_standard_id, lube_standard_code, device_type_id, lube_protocol, operation_description, is_flag, remark, create_by, create_time, update_by, update_time, #{lubeStandardId}, #{lubeStandardCode}, #{deviceTypeId}, #{lubeProtocol}, #{operationDescription}, #{isFlag}, #{remark}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update dms_base_lube_standard lube_standard_code = #{lubeStandardCode}, device_type_id = #{deviceTypeId}, lube_protocol = #{lubeProtocol}, operation_description = #{operationDescription}, is_flag = #{isFlag}, remark = #{remark}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where lube_standard_id = #{lubeStandardId} delete from dms_base_lube_standard where lube_standard_id = #{lubeStandardId} delete from dms_base_lube_standard where lube_standard_id in #{lubeStandardId}