| Line 112... |
Line 112... |
| 112 |
|
112 |
|
| 113 |
invAgeObj.setThreeToFourCount(invAgeObj.getThreeToFourCount() + invAge.getThreeToFourCount());
|
113 |
invAgeObj.setThreeToFourCount(invAgeObj.getThreeToFourCount() + invAge.getThreeToFourCount());
|
| 114 |
invAgeObj.setFourPlusCount(invAgeObj.getFourPlusCount() + invAge.getFourPlusCount());
|
114 |
invAgeObj.setFourPlusCount(invAgeObj.getFourPlusCount() + invAge.getFourPlusCount());
|
| 115 |
invAgeObj.setThreeMonthPlusCount(invAgeObj.getThreeMonthPlusCount() + invAge.getThreeMonthPlusCount());
|
115 |
invAgeObj.setThreeMonthPlusCount(invAgeObj.getThreeMonthPlusCount() + invAge.getThreeMonthPlusCount());
|
| 116 |
invAgeObj.setSixMonthPlusCount(invAgeObj.getSixMonthPlusCount() + invAge.getSixMonthPlusCount());
|
116 |
invAgeObj.setSixMonthPlusCount(invAgeObj.getSixMonthPlusCount() + invAge.getSixMonthPlusCount());
|
| - |
|
117 |
invAgeObj.setZeroToThreeMonthCount(invAgeObj.getZeroToThreeMonthCount() + invAge.getZeroToThreeMonthCount());
|
| - |
|
118 |
invAgeObj.setThreeToSixMonthCount(invAgeObj.getThreeToSixMonthCount() + invAge.getThreeToSixMonthCount());
|
| - |
|
119 |
invAgeObj.setSixToTwelveMonthCount(invAgeObj.getSixToTwelveMonthCount() + invAge.getSixToTwelveMonthCount());
|
| - |
|
120 |
invAgeObj.setTwelveMonthsPlusCount(invAgeObj.getTwelveMonthsPlusCount() + invAge.getTwelveMonthsPlusCount());
|
| 117 |
invAgeObj.setZeroPlusCount(invAgeObj.getZeroPlusCount() + invAge.getZeroPlusCount());
|
121 |
invAgeObj.setZeroPlusCount(invAgeObj.getZeroPlusCount() + invAge.getZeroPlusCount());
|
| 118 |
invAgeObj.setOnePlusCount(invAgeObj.getOnePlusCount() + invAge.getOnePlusCount());
|
122 |
invAgeObj.setOnePlusCount(invAgeObj.getOnePlusCount() + invAge.getOnePlusCount());
|
| 119 |
invAgeObj.setZeroPlusCost(invAgeObj.getZeroPlusCost() + invAge.getZeroPlusCost());
|
123 |
invAgeObj.setZeroPlusCost(invAgeObj.getZeroPlusCost() + invAge.getZeroPlusCost());
|
| 120 |
invAgeObj.setOnePlusCost(invAgeObj.getOnePlusCost() + invAge.getOnePlusCost());
|
124 |
invAgeObj.setOnePlusCost(invAgeObj.getOnePlusCost() + invAge.getOnePlusCost());
|
| 121 |
|
125 |
|
| Line 145... |
Line 149... |
| 145 |
"2-3 week",
|
149 |
"2-3 week",
|
| 146 |
"3-4 week",
|
150 |
"3-4 week",
|
| 147 |
"4+ week",
|
151 |
"4+ week",
|
| 148 |
"3+ month",
|
152 |
"3+ month",
|
| 149 |
"6+ month",
|
153 |
"6+ month",
|
| - |
|
154 |
"0-3 month",
|
| - |
|
155 |
"3-6 month",
|
| - |
|
156 |
"6-12 month",
|
| - |
|
157 |
"12+ month",
|
| 150 |
"1+ week",
|
158 |
"1+ week",
|
| 151 |
"1+ week cost",
|
159 |
"1+ week cost",
|
| 152 |
"All",
|
160 |
"All",
|
| 153 |
"All cost" }, '\t'));
|
161 |
"All cost" }, '\t'));
|
| 154 |
|
162 |
|
| Line 168... |
Line 176... |
| 168 |
String.valueOf(item.getTwoToThreeCount()),
|
176 |
String.valueOf(item.getTwoToThreeCount()),
|
| 169 |
String.valueOf(item.getThreeToFourCount()),
|
177 |
String.valueOf(item.getThreeToFourCount()),
|
| 170 |
String.valueOf(item.getFourPlusCount()),
|
178 |
String.valueOf(item.getFourPlusCount()),
|
| 171 |
String.valueOf(item.getThreeMonthPlusCount()),
|
179 |
String.valueOf(item.getThreeMonthPlusCount()),
|
| 172 |
String.valueOf(item.getSixMonthPlusCount()),
|
180 |
String.valueOf(item.getSixMonthPlusCount()),
|
| - |
|
181 |
String.valueOf(item.getZeroToThreeMonthCount()),
|
| - |
|
182 |
String.valueOf(item.getThreeToSixMonthCount()),
|
| - |
|
183 |
String.valueOf(item.getSixToTwelveMonthCount()),
|
| - |
|
184 |
String.valueOf(item.getTwelveMonthsPlusCount()),
|
| 173 |
String.valueOf(item.getOnePlusCount()),
|
185 |
String.valueOf(item.getOnePlusCount()),
|
| 174 |
String.valueOf(item.getOnePlusCost()),
|
186 |
String.valueOf(item.getOnePlusCost()),
|
| 175 |
String.valueOf(item.getZeroPlusCount()),
|
187 |
String.valueOf(item.getZeroPlusCount()),
|
| 176 |
String.valueOf(item.getZeroPlusCost())}, '\t'));
|
188 |
String.valueOf(item.getZeroPlusCost())}, '\t'));
|
| 177 |
}
|
189 |
}
|
| Line 228... |
Line 240... |
| 228 |
long threeToFourCount = 0;
|
240 |
long threeToFourCount = 0;
|
| 229 |
long fourPlusCount = 0;
|
241 |
long fourPlusCount = 0;
|
| 230 |
long onePlusCount = 0;
|
242 |
long onePlusCount = 0;
|
| 231 |
long threeMonthPlusCount = 0;
|
243 |
long threeMonthPlusCount = 0;
|
| 232 |
long sixMonthPlusCount = 0;
|
244 |
long sixMonthPlusCount = 0;
|
| - |
|
245 |
long zeroToThreeMonthCount = 0;
|
| - |
|
246 |
long threeToSixMonthsCount = 0;
|
| - |
|
247 |
long sixToTwelveMonthsCount = 0;
|
| - |
|
248 |
long twelveMonthsPlusCount = 0;
|
| 233 |
long onePlusCost = 0;
|
249 |
long onePlusCost = 0;
|
| 234 |
long zeroPlusCount = 0;
|
250 |
long zeroPlusCount = 0;
|
| 235 |
long zeroPlusCost = 0;
|
251 |
long zeroPlusCost = 0;
|
| 236 |
String brand ="";
|
252 |
String brand ="";
|
| 237 |
String modelName ="";
|
253 |
String modelName ="";
|
| Line 299... |
Line 315... |
| 299 |
threeMonthPlusCount = threeMonthPlusCount + amazonSkuInfo.getQuantity();
|
315 |
threeMonthPlusCount = threeMonthPlusCount + amazonSkuInfo.getQuantity();
|
| 300 |
}
|
316 |
}
|
| 301 |
if(invAge >= 26){
|
317 |
if(invAge >= 26){
|
| 302 |
sixMonthPlusCount = sixMonthPlusCount + amazonSkuInfo.getQuantity();
|
318 |
sixMonthPlusCount = sixMonthPlusCount + amazonSkuInfo.getQuantity();
|
| 303 |
}
|
319 |
}
|
| - |
|
320 |
|
| - |
|
321 |
if(invAge >0 && invAge <=13){
|
| - |
|
322 |
zeroToThreeMonthCount = zeroToThreeMonthCount + amazonSkuInfo.getQuantity();
|
| - |
|
323 |
}
|
| - |
|
324 |
|
| - |
|
325 |
if(invAge >13 && invAge <=26){
|
| - |
|
326 |
threeToSixMonthsCount = threeToSixMonthsCount + amazonSkuInfo.getQuantity();
|
| - |
|
327 |
}
|
| - |
|
328 |
|
| - |
|
329 |
if(invAge >26 && invAge <=52){
|
| - |
|
330 |
sixToTwelveMonthsCount = sixToTwelveMonthsCount + amazonSkuInfo.getQuantity();
|
| - |
|
331 |
}
|
| - |
|
332 |
|
| - |
|
333 |
if(invAge > 52){
|
| - |
|
334 |
twelveMonthsPlusCount = twelveMonthsPlusCount + amazonSkuInfo.getQuantity();
|
| - |
|
335 |
}
|
| 304 |
|
336 |
|
| 305 |
zeroPlusCount = zeroPlusCount + amazonSkuInfo.getQuantity();
|
337 |
zeroPlusCount = zeroPlusCount + amazonSkuInfo.getQuantity();
|
| 306 |
|
338 |
|
| 307 |
zeroPlusCost = (long)(zeroPlusCost + ( amazonSkuInfo.getQuantity() * amazonSkuInfo.getUnitPrice() ));
|
339 |
zeroPlusCost = (long)(zeroPlusCost + ( amazonSkuInfo.getQuantity() * amazonSkuInfo.getUnitPrice() ));
|
| 308 |
}
|
340 |
}
|
| Line 319... |
Line 351... |
| 319 |
inventAge.setTwoToThreeCount(twoToThreeCount);
|
351 |
inventAge.setTwoToThreeCount(twoToThreeCount);
|
| 320 |
inventAge.setThreeToFourCount(threeToFourCount);
|
352 |
inventAge.setThreeToFourCount(threeToFourCount);
|
| 321 |
inventAge.setFourPlusCount(fourPlusCount);
|
353 |
inventAge.setFourPlusCount(fourPlusCount);
|
| 322 |
inventAge.setThreeMonthPlusCount(threeMonthPlusCount);
|
354 |
inventAge.setThreeMonthPlusCount(threeMonthPlusCount);
|
| 323 |
inventAge.setSixMonthPlusCount(sixMonthPlusCount);
|
355 |
inventAge.setSixMonthPlusCount(sixMonthPlusCount);
|
| - |
|
356 |
inventAge.setZeroToThreeMonthCount(zeroToThreeMonthCount);
|
| - |
|
357 |
inventAge.setThreeToSixMonthCount(threeToSixMonthsCount);
|
| - |
|
358 |
inventAge.setSixToTwelveMonthCount(sixToTwelveMonthsCount);
|
| - |
|
359 |
inventAge.setTwelveMonthsPlusCount(twelveMonthsPlusCount);
|
| 324 |
inventAge.setZeroPlusCount(zeroPlusCount);
|
360 |
inventAge.setZeroPlusCount(zeroPlusCount);
|
| 325 |
inventAge.setOnePlusCount(onePlusCount);
|
361 |
inventAge.setOnePlusCount(onePlusCount);
|
| 326 |
inventAge.setZeroPlusCost(zeroPlusCost);
|
362 |
inventAge.setZeroPlusCost(zeroPlusCost);
|
| 327 |
inventAge.setOnePlusCost(onePlusCost);
|
363 |
inventAge.setOnePlusCost(onePlusCost);
|
| 328 |
inventAge.setCategory(category);
|
364 |
inventAge.setCategory(category);
|
| Line 357... |
Line 393... |
| 357 |
"2-3 week",
|
393 |
"2-3 week",
|
| 358 |
"3-4 week",
|
394 |
"3-4 week",
|
| 359 |
"4+ week",
|
395 |
"4+ week",
|
| 360 |
"3+ month",
|
396 |
"3+ month",
|
| 361 |
"6+ month",
|
397 |
"6+ month",
|
| - |
|
398 |
"0-3 month",
|
| - |
|
399 |
"3-6 month",
|
| - |
|
400 |
"6-12 month",
|
| - |
|
401 |
"12+ month",
|
| 362 |
"1+ week",
|
402 |
"1+ week",
|
| 363 |
"1+ week cost",
|
403 |
"1+ week cost",
|
| 364 |
"All",
|
404 |
"All",
|
| 365 |
"All cost" }, '\t'));
|
405 |
"All cost" }, '\t'));
|
| 366 |
|
406 |
|
| Line 380... |
Line 420... |
| 380 |
String.valueOf(item.getTwoToThreeCount()),
|
420 |
String.valueOf(item.getTwoToThreeCount()),
|
| 381 |
String.valueOf(item.getThreeToFourCount()),
|
421 |
String.valueOf(item.getThreeToFourCount()),
|
| 382 |
String.valueOf(item.getFourPlusCount()),
|
422 |
String.valueOf(item.getFourPlusCount()),
|
| 383 |
String.valueOf(item.getThreeMonthPlusCount()),
|
423 |
String.valueOf(item.getThreeMonthPlusCount()),
|
| 384 |
String.valueOf(item.getSixMonthPlusCount()),
|
424 |
String.valueOf(item.getSixMonthPlusCount()),
|
| - |
|
425 |
String.valueOf(item.getZeroToThreeMonthCount()),
|
| - |
|
426 |
String.valueOf(item.getThreeToSixMonthCount()),
|
| - |
|
427 |
String.valueOf(item.getSixToTwelveMonthCount()),
|
| - |
|
428 |
String.valueOf(item.getTwelveMonthsPlusCount()),
|
| 385 |
String.valueOf(item.getOnePlusCount()),
|
429 |
String.valueOf(item.getOnePlusCount()),
|
| 386 |
String.valueOf(item.getOnePlusCost()),
|
430 |
String.valueOf(item.getOnePlusCost()),
|
| 387 |
String.valueOf(item.getZeroPlusCount()),
|
431 |
String.valueOf(item.getZeroPlusCount()),
|
| 388 |
String.valueOf(item.getZeroPlusCost())}, '\t'));
|
432 |
String.valueOf(item.getZeroPlusCost())}, '\t'));
|
| 389 |
}
|
433 |
}
|