Package org.xBaseJ.micro

Examples of org.xBaseJ.micro.DBF.deleted()


        ArrayList<LNumberChunk> lNumberChunkList = new ArrayList<LNumberChunk>(recordCount);
        HashSet<Integer> lnumSet = new HashSet<Integer>();
        for (int i = 0; i < recordCount; i++) {
            try {
                dbf.read();
                if (dbf.deleted()) {
                    continue;
                }
                LNumberChunk c = new LNumberChunk();
                c.lnumber = Integer.parseInt(fieldsKadr.get(ColKadr.LNUMBER).get().trim());
                if (lnumSet.contains(c.lnumber)) {
View Full Code Here


        int counterSst = 0;
        recordCount = dbf.getRecordCount();
        for (int i = 0; i < recordCount; i++) {
            try {
                dbf.read();
                if (dbf.deleted()) {
                    continue;
                }
                SstData d = new SstData();
                if (fieldsSst.get(ColSst.N_SYST).get().trim().isEmpty()) {
                    System.out.println("Ошибка : В статталоне отсутствует N_SYST " + dbf.getName());
View Full Code Here

        int counterDni = 0;
        recordCount = dbf.getRecordCount();
        for (int i = 0; i < recordCount; i++) {
            try {
                dbf.read();
                if (dbf.deleted()) {
                    continue;
                }
                DniData d = new DniData();
                if (fieldsDni.get(ColDni.N_SYST).get().trim().isEmpty()) {
                    System.out.println("Ошибка : В посещении отстутствует N_SYST, строка  " + counterDni + " "+ dbf.getName());
View Full Code Here

        recordCount = dbf.getRecordCount();
        int counterDs = 0;
        for (int i = 0; i < recordCount; i++) {
            try {
                dbf.read();
                if (dbf.deleted()) {
                    continue;
                }
                DsData d = new DsData();
                if (fieldsDs.get(ColDS.N_SYST).get().trim().isEmpty()) {
                    System.out.println("Ошибка : В диагнозе отстутствует N_SYST, строка  " + counterDni + " "+ dbf.getName());
View Full Code Here

        int recordCount = dbfDop.getRecordCount();
        int counter = 0;
        for (int i = 0; i < recordCount; i++) {
            try {
                dbfDop.read();
                if (dbfDop.deleted()) {
                    continue;
                }
                Integer lnumber = Integer.parseInt(fieldsDop.get(ColDop.LNUMBER).get().trim());
                String insOrg = fieldsDop.get(ColDop.INSUR_ORG).get().trim();
                DirectoryInsurerItem item = dirInsurer.getItemFromTitle(insOrg);
View Full Code Here

        recordCount = dbfJob.getRecordCount();
        counter = 0;
        for (int i = 0; i < recordCount; i++) {
            try {
                dbfJob.read();
                if (dbfJob.deleted()) {
                    continue;
                }
                String id = fieldsJob.get(ColJob.ID).get().trim();
                String name = fieldsJob.get(ColJob.NAME).get().trim();
                if (name.isEmpty()) {
View Full Code Here

        HashSet<Integer> whiteList = new HashSet<Integer>();
        recordCount = dbfSST.getRecordCount();
        for (int i = 0; i < recordCount; i++) {
            try {
                dbfSST.read();
                if (dbfSST.deleted()) {
                    continue;
                }
                if (fieldsSst.get(ColSst.LNUMBER).get().trim().isEmpty()) {
                    counterSst ++;
                    continue;
View Full Code Here

                    System.out.println("Обновление пациентов : " +  i/((float)recordCount)*100 + "% (" + i + ") запись");
                    GregorianCalendar gc2 = new GregorianCalendar();
                    long mc = gc2.getTimeInMillis() - gc1.getTimeInMillis();
                    System.out.println("Work time: " + mc + " ms");
                }
                if (dbf.deleted()) {
                    continue;
                }
                ClientChunk c = new ClientChunk();
                c.lnumber = Integer.parseInt(fields.get(Col.LNUMBER).get().trim());
                c.numambk = fields.get(Col.NUM_AMB_K).get().trim();
View Full Code Here

                    System.out.println("Обновление льготников: " +  i/((float)recordCount)*100 + "% (" + i + ") запись");
                    GregorianCalendar gc2 = new GregorianCalendar();
                    long mc = gc2.getTimeInMillis() - gc1.getTimeInMillis();
                    System.out.println("Work time: " + mc + " ms");
                }
                if (dbf.deleted()) {
                    continue;
                }

                FacilityClientDetails c = new FacilityClientDetails();

View Full Code Here

                    System.out.println("Обновление данных о документах льготности : " +  i/((float)recordCount)*100 + "% (" + i + ") запись");
                    gc2 = new GregorianCalendar();
                    mc = gc2.getTimeInMillis() - gc1.getTimeInMillis();
                    System.out.println("Work time: " + mc + " ms");
                }
                if (dbfDoc.deleted()) {
                    continue;
                }
                FacilityDocumentDetails d = new FacilityDocumentDetails();

                String snils = docFields.get(ColDoc.SS).get().trim();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.