Subversion Repositories SmartDukaan

Rev

Rev 23122 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23122 Rev 23129
Line 138... Line 138...
138
	                boolean cellVal_bool = false;
138
	                boolean cellVal_bool = false;
139
	                
139
	                
140
	                switch(cell.getCellType()) {
140
	                switch(cell.getCellType()) {
141
	                    case Cell.CELL_TYPE_BOOLEAN:
141
	                    case Cell.CELL_TYPE_BOOLEAN:
142
	                    	cellVal_bool = cell.getBooleanCellValue();
142
	                    	cellVal_bool = cell.getBooleanCellValue();
143
	                        System.out.print(cell.getBooleanCellValue() + "\t\t");
-
 
144
	                        break;
143
	                        break;
145
	                    case Cell.CELL_TYPE_NUMERIC:
144
	                    case Cell.CELL_TYPE_NUMERIC:
146
	                    	cellVal_Num= (long) cell.getNumericCellValue();
145
	                    	cellVal_Num= (long) cell.getNumericCellValue();
147
	                        System.out.print(cell.getNumericCellValue() + "\t\t");
-
 
148
	                        break;
146
	                        break;
149
	                    case Cell.CELL_TYPE_STRING:
147
	                    case Cell.CELL_TYPE_STRING:
150
	                    	cellVal_Str = cell.getStringCellValue();
148
	                    	cellVal_Str = cell.getStringCellValue();
151
	                        System.out.print(cell.getStringCellValue() + "\t\t");
-
 
152
	                        break;
149
	                        break;
153
	                }
150
	                }
154
	                switch(cellCount) {
151
	                switch(cellCount) {
155
	                	case 0:
152
	                	case 0:
156
	                		long provider_id = (long) cellVal_Num;
153
	                		long provider_id = (long) cellVal_Num;
Line 209... Line 206...
209
	                		break;
206
	                		break;
210
	                	case 11:
207
	                	case 11:
211
	                		logisticsLocationInfo.setZoneCode(cellVal_Str);
208
	                		logisticsLocationInfo.setZoneCode(cellVal_Str);
212
	                		break;
209
	                		break;
213
	                }
210
	                }
-
 
211
	                if(logisticsLocationInfo.getProviderId()==0l) break;
214
	               cellCount++;
212
	               cellCount++;
215
	            }
213
	            }
216
	            logisticsLocationInfoList.add(logisticsLocationInfo);
214
	            logisticsLocationInfoList.add(logisticsLocationInfo);
217
	        }
215
	        }
218
	        try{
216
	        try{