zoukankan      html  css  js  c++  java
  • 遍历AOT表

     1 static void findStr(Args _args)
     2 {
     3     Dictionary     dictionary = new Dictionary();
     4     SysDictTable   dictTable;
     5     SysDictField   dictField;
     6     Common         common;
     7     int        i, j, _tableId, _fieldId;
     8    ;
     9     for (i = 1; i <= dictionary.tableCnt(); i++)
    10     {
    11         _tableId  = dictionary.tableCnt2Id(i);
    12         dictTable = new DictTable(_tableId);
    13         common    = dictTable.makeRecord();
    14         for (j = 1; j <= dictTable.fieldCnt(); j++)
    15         {
    16             _fieldId  = dictTable.fieldCnt2Id(j);
    17             dictField = new DictField(_tableId,_fieldId);
    18             if(dictField && !isSysId(_fieldId)
    19                && (dictField.baseType() == types::String  ||
    20                    dictField.baseType() == types::RString ||
    21                    dictField.baseType() == types::VarString) )
    22             {
    23                while select RecId from common where common.(_fieldId) like "*text*"
    24                {
    25                     info("tablename:" + dictTable.name()
    26                          + " fileldname:" + dictTable.fieldName(_fieldId)
    27                          + " recid:" + int642str(common.RecId));
    28                }//while
    29             }//If
    30         }//for
    31     }//for
    32 }//function
  • 相关阅读:
    windows wmi
    python编码规范
    gogs安装
    mariadb-5.5安装
    python kafka
    delimiter关键字
    phpstorm设置背景图片
    linux 下mysql 关闭 启动
    通过下载git包来安装git
    git clone 某个链接时候报错Initialized empty Git repository in 不能克隆
  • 原文地址:https://www.cnblogs.com/Jinnchu/p/2658895.html
Copyright © 2011-2022 走看看