public static Object removeRouteInfo(String scName, String tbName) {
        scName = DDRStringUtils.toLowerCase(scName);
        tbName = DDRStringUtils.toLowerCase(tbName);
        if (scName == null) {
            throw new IllegalArgumentException("'scName' can't be empty");
        }
        if (tbName == null) {
            throw new IllegalArgumentException("'tbName' can't be empty");
        }
        Map<String, Object> exactRouteContext = getCurContext().getExactRouteContext();
        // level 1
        Object obj = exactRouteContext.remove(buildQueryKey(scName, tbName));
        // level 2
        Map<String, Map<String, Object>> ambiguousRouteContext = getCurContext().getAmbiguousRouteContext();
        Map<String, Object> scMap = ambiguousRouteContext.get(tbName);
        if (scMap != null) {
            scMap.remove(scName);
            if (scMap.isEmpty()) {
                ambiguousRouteContext.remove(tbName);
            }
        }
        return obj;
    }
public static Object removeRouteInfo ( String scName , String tbName ) { scName = DDRStringUtils . toLowerCase ( scName ) ; tbName = DDRStringUtils . toLowerCase ( tbName ) ; if ( scName == null ) { throw new IllegalArgumentException ( "'scName' can't be empty" ) ; } if ( tbName == null ) { throw new IllegalArgumentException ( "'tbName' can't be empty" ) ; } Map < String , Object > exactRouteContext = getCurContext ( ) . getExactRouteContext ( ) ; Object obj = exactRouteContext . remove ( buildQueryKey ( scName , tbName ) ) ; Map < String , Map < String , Object > > ambiguousRouteContext = getCurContext ( ) . getAmbiguousRouteContext ( ) ; Map < String , Object > scMap = ambiguousRouteContext . get ( tbName ) ; if ( scMap != null ) { scMap . remove ( scName ) ; if ( scMap . isEmpty ( ) ) { ambiguousRouteContext . remove ( tbName ) ; } } return obj ; }
删除路由信息