Subversion Repositories SmartDukaan

Rev

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

Rev 22324 Rev 22325
Line 172... Line 172...
172
							FofoDealItem fdi = new FofoDealItem();
172
							FofoDealItem fdi = new FofoDealItem();
173
							fdi.setSellingPrice((float)childItem.getDouble("sellingPrice_f"));
173
							fdi.setSellingPrice((float)childItem.getDouble("sellingPrice_f"));
174
							fdi.setMop((float)childItem.getDouble("mop_f"));
174
							fdi.setMop((float)childItem.getDouble("mop_f"));
175
							fdi.setColor(childItem.has("color_s")?childItem.getString("color_s"): "");
175
							fdi.setColor(childItem.has("color_s")?childItem.getString("color_s"): "");
176
							fdi.setTagId(childItem.getInt("tagId_i"));
176
							fdi.setTagId(childItem.getInt("tagId_i"));
177
							fdi.setTagId(itemId);
177
							fdi.setItemId(itemId);
178
							itemPricing.put(itemId, fdi);
178
							itemPricing.put(itemId, fdi);
179
					}
179
					}
180
				}
180
				}
181
				ffdr.setItems(new ArrayList<FofoDealItem>(itemPricing.values()));
181
				ffdr.setItems(new ArrayList<FofoDealItem>(itemPricing.values()));
182
				dealResponse.add(ffdr);
182
				dealResponse.add(ffdr);