Subversion Repositories SmartDukaan

Rev

Rev 10027 | Rev 10029 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10027 Rev 10028
Line 248... Line 248...
248
					+"<td>" + item.getId() + "</td>"
248
					+"<td>" + item.getId() + "</td>"
249
					+"<td>" + actualstock + "</td>"
249
					+"<td>" + actualstock + "</td>"
250
					+"<td>" + orders + "</td>"
250
					+"<td>" + orders + "</td>"
251
					+"<td>" + stock + "</td>"
251
					+"<td>" + stock + "</td>"
252
					+"</tr>");
252
					+"</tr>");
-
 
253
			i++;
253
			if(flipkartItemsInventoryMap.entrySet().size()!=1 && (i!=flipkartItemsInventoryMap.entrySet().size() -1 ) ){
254
			if(flipkartItemsInventoryMap.entrySet().size()!=1 && (i!=flipkartItemsInventoryMap.entrySet().size()) ){
254
				if(i%10!=0){
255
				if(i%10!=0){
255
					jsonRequest.append(",");
256
					jsonRequest.append(",");
256
				}
257
				}
257
			}
258
			}
258
			i++;
-
 
259
			if(i%10==0 || i==flipkartItemsInventoryMap.entrySet().size()){
259
			if(i%10==0 || i==flipkartItemsInventoryMap.entrySet().size()){
260
				StringEntity input = null;
260
				StringEntity input = null;
261
				try {
261
				try {
262
					input = new StringEntity(jsonStart+jsonRequest.toString()+jsonEnd);
262
					input = new StringEntity(jsonStart+jsonRequest.toString()+jsonEnd);
263
					System.out.println("Json input " + jsonStart+jsonRequest.toString()+jsonEnd);
263
					System.out.println("Json input " + jsonStart+jsonRequest.toString()+jsonEnd);