zoukankan      html  css  js  c++  java
  • 获取文本框中的行

    lines = UploadText.text();

        line = strLine(lines, 0);

        while (strlen(line) > 0)

        {

            cnt++;

            sStrings += (line+",");

            if((cnt mod 20) ==0)

            {

                qbsProdTable.addRange(fieldnum(ProdTable,ProdId)).value(sStrings);

                if(cbxRAF.value() == 0)   

                    qbsProdTable.addRange(fieldnum(ProdTable,ProdStatus)).value("<5");

                queryRun=new QueryRun(query);

                while(queryRun.next())

                {

                    prodTable=queryRun.getNo(1);

                    if(EmplId.valueStr())

                        this.findEmplMaterial(prodTable.ProdId);¡¡¡¡

                    else

                        this.findWrkCtrMaterial(prodTable.ProdId);

                    this.nj_findTransMaterial(prodTable);

                }

                sStrings = "";

            }

                lines = strDel(lines, 1, strLen(line)+1 );

                line = strLine(lines, 0);

        }

        if(sStrings != "")

        {

            qbsProdTable.clearRanges();

            qbsProdTable.addRange(fieldnum(ProdTable,ProdId)).value(sStrings);

            queryRun=new QueryRun(query);

            while(queryRun.next())

            {

                prodTable=queryRun.getNo(1);

                if(EmplId.valueStr())

                    this.findEmplMaterial(prodTable.ProdId);¡¡¡¡

                else

                    this.findWrkCtrMaterial(prodTable.ProdId);

                this.nj_findTransMaterial(prodTable);

            }

        }

        WIPMaterial_ds.executeQuery();

        TransMaterial_ds.executeQuery();

        TabWIP.activatePage();

  • 相关阅读:
    mongodb单机搭建
    zeus部署
    hive单机部署
    datax部署
    hadoop/hbase/hive单机扩增slave
    读取Jar中的json文件
    Mybatis 一对多 简单映射配置
    java/kotlin 读取文件、写入文件
    ES6中Json、String、Map、Object之间的转换
    java 客户端发起http请求2
  • 原文地址:https://www.cnblogs.com/perock/p/2133269.html
Copyright © 2011-2022 走看看