zoukankan      html  css  js  c++  java
  • 检查所有表Relations是否为unknown

    static void CheckAllTable(Args _args)

    {

        Dictionary          dictionary = new Dictionary();

        DictTable           dictTable;  

        int                 i,m,n;

        ;   

        for (i=1; i<=dictionary.tableCnt(); i++)

        {

             dictTable = new DictTable(dictionary.tableCnt2Id(i));

             for (m=1; m<=dictTable.relationCnt(); m++)

             {

                if (dictTable.relation(m) == "")

                {

                    print dictTable.name();

                }

             }

             for (n=1; n<=dictTable.deleteActionCnt(); n++)

             {

                if (dictTable.deleteActionTableId(n) == 0)

                {

                    print dictTable.name();

                    //if(i > 10 )

                    //pause;

                }

             } 

        }

       

        //dictTable = new dictTable(tablenum("NJ_CustomInvTable"));

        //print dictTable.deleteActionTableId(2);

        //print dictTable.relation(0);

        //print dictTable.name();

        pause;

    }

  • 相关阅读:
    Stream流之三级查询
    SpringBoot日期格式的设置
    el表达式
    SpringMV+HuTool之验证码登录
    Spring注解详解
    @ResponseBody注解使用(返回字符串并不跳转)
    每日leetcode-数组-589. N 叉树的前序遍历
    python apply函数
    剑指offer-JZ6 旋转数组的最小数字
    torch.manual_seed()函数
  • 原文地址:https://www.cnblogs.com/perock/p/2205331.html
Copyright © 2011-2022 走看看