select f_id, f_pid, f_itmeid, f_itmestatus, f_billstatus, create_time, create_by, update_by, update_time, remark from t_warehousebills_log
    
    
    
    
        
    
        insert into t_warehousebills_log
        
            f_pid,
            f_itmeid,
            f_itmestatus,
            f_billstatus,
            create_time,
            create_by,
            update_by,
            update_time,
            remark,
         
        
            #{fPid},
            #{fItmeid},
            #{fItmestatus},
            #{fBillstatus},
            #{createTime},
            #{createBy},
            #{updateBy},
            #{updateTime},
            #{remark},
         
    
    
        update t_warehousebills_log
        
            f_pid = #{fPid},
            f_itmeid = #{fItmeid},
            f_itmestatus = #{fItmestatus},
            f_billstatus = #{fBillstatus},
            create_time = #{createTime},
            create_by = #{createBy},
            update_by = #{updateBy},
            update_time = #{updateTime},
            remark = #{remark},
        
        where f_id = #{fId}
    
    
        delete from t_warehousebills_log where f_id = #{fId}
    
    
        delete from t_warehousebills_log where f_id in 
        
            #{fId}