select model_id, model, full_voltage, low_voltage, full_endurance, create_by, create_time, update_by, update_time, remark, intro, agent_id, deposit, picture from rl_model
    
    
    
    
    
    
    
        insert into rl_model
        
            model_id,
            model,
            full_voltage,
            low_voltage,
            full_endurance,
            create_by,
            create_time,
            update_by,
            update_time,
            remark,
            intro,
            agent_id,
            deposit,
            picture,
         
        
            #{modelId},
            #{model},
            #{fullVoltage},
            #{lowVoltage},
            #{fullEndurance},
            #{createBy},
            #{createTime},
            #{updateBy},
            #{updateTime},
            #{remark},
            #{intro},
            #{agentId},
            #{deposit},
            #{picture},
         
    
    
        update rl_model
        
            model = #{model},
            full_voltage = #{fullVoltage},
            low_voltage = #{lowVoltage},
            full_endurance = #{fullEndurance},
            create_by = #{createBy},
            create_time = #{createTime},
            update_by = #{updateBy},
            update_time = #{updateTime},
            remark = #{remark},
            intro = #{intro},
            agent_id = #{agentId},
            deposit = #{deposit},
            picture = #{picture},
        
        where model_id = #{modelId}
    
    
        delete from rl_model where model_id = #{modelId}
    
    
        delete from rl_model where model_id in
        
            #{modelId}