select plan_lube_detail_id, plan_lube_id, device_id, lube_station_id, lube_standard_id, operation_description, is_flag, remark, create_by, create_time, update_by, update_time from dms_plan_lube_detail insert into dms_plan_lube_detail plan_lube_id, device_id, lube_station_id, lube_standard_id, operation_description, is_flag, remark, create_by, create_time, update_by, update_time, #{planLubeId}, #{deviceId}, #{lubeStationId}, #{lubeStandardId}, #{operationDescription}, #{isFlag}, #{remark}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update dms_plan_lube_detail plan_lube_id = #{planLubeId}, device_id = #{deviceId}, lube_station_id = #{lubeStationId}, lube_standard_id = #{lubeStandardId}, operation_description = #{operationDescription}, is_flag = #{isFlag}, remark = #{remark}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where plan_lube_detail_id = #{planLubeDetailId} delete from dms_plan_lube_detail where plan_lube_detail_id = #{planLubeDetailId} delete from dms_plan_lube_detail where plan_lube_detail_id in #{planLubeDetailId}