select id, durg_archives_id, put_out, place, purpose, remarks, put_time, receive_id, admin_id, create_time, update_time, durg_brand, manufacturer, specifications, product_introduction, number, store_house, unit_id, unit_id1, unit_name1, unit_name, people_namee, durg_name, user_name from bdgl_consume_putout
    
    
    
    
        insert into bdgl_consume_putout
        
            durg_archives_id,
            put_out,
            place,
            purpose,
            remarks,
            put_time,
            receive_id,
            admin_id,
            create_time,
            update_time,
            durg_brand,
            manufacturer,
            specifications,
            product_introduction,
            number,
            store_house,
            unit_id,
            unit_id1,
            unit_name1,
            unit_name,
            people_namee,
            durg_name,
            user_name,
        
        
            #{durgArchivesId},
            #{putOut},
            #{place},
            #{purpose},
            #{remarks},
            #{putTime},
            #{receiveId},
            #{adminId},
            #{createTime},
            #{updateTime},
            #{durgBrand},
            #{manufacturer},
            #{specifications},
            #{productIntroduction},
            #{number},
            #{storeHouse},
            #{unitId},
            #{unitId1},
            #{unitName1},
            #{unitName},
            #{peopleNamee},
            #{durgName},
            #{userName},
        
    
    
        update bdgl_consume_putout
        
            durg_archives_id = #{durgArchivesId},
            put_out = #{putOut},
            place = #{place},
            purpose = #{purpose},
            remarks = #{remarks},
            put_time = #{putTime},
            receive_id = #{receiveId},
            admin_id = #{adminId},
            create_time = #{createTime},
            update_time = #{updateTime},
            durg_brand = #{durgBrand},
            manufacturer = #{manufacturer},
            specifications = #{specifications},
            product_introduction = #{productIntroduction},
            number = #{number},
            store_house = #{storeHouse},
            unit_id = #{unitId},
            unit_id1 = #{unitId1},
            unit_name1 = #{unitName1},
            unit_name = #{unitName},
            people_namee = #{peopleNamee},
            durg_name = #{durgName},
            user_name = #{userName},
        
        where id = #{id}
    
    
        delete from bdgl_consume_putout where id = #{id}
    
    
        delete from bdgl_consume_putout where id in
        
            #{id}