select plan_lube_id, plan_lube_code, lube_level, lube_group, lube_supervisor, lube_time, time_limit, job_id, cycle_period, create_method, is_flag, remark, create_by, create_time, update_by, update_time from dms_plan_lube insert into dms_plan_lube plan_lube_code, lube_level, lube_group, lube_supervisor, lube_time, time_limit, job_id, cycle_period, create_method, is_flag, remark, create_by, create_time, update_by, update_time, #{planLubeCode}, #{lubeLevel}, #{lubeGroup}, #{lubeSupervisor}, #{lubeTime}, #{timeLimit}, #{jobId}, #{cyclePeriod}, #{createMethod}, #{isFlag}, #{remark}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update dms_plan_lube plan_lube_code = #{planLubeCode}, lube_level = #{lubeLevel}, lube_group = #{lubeGroup}, lube_supervisor = #{lubeSupervisor}, lube_time = #{lubeTime}, time_limit = #{timeLimit}, job_id = #{jobId}, cycle_period = #{cyclePeriod}, create_method = #{createMethod}, is_flag = #{isFlag}, remark = #{remark}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where plan_lube_id = #{planLubeId} delete from dms_plan_lube where plan_lube_id = #{planLubeId} delete from dms_plan_lube where plan_lube_id in #{planLubeId}