| Line 107... |
Line 107... |
| 107 |
import javax.mail.MessagingException;
|
107 |
import javax.mail.MessagingException;
|
| 108 |
import javax.mail.internet.InternetAddress;
|
108 |
import javax.mail.internet.InternetAddress;
|
| 109 |
import javax.mail.internet.MimeMessage;
|
109 |
import javax.mail.internet.MimeMessage;
|
| 110 |
import java.io.*;
|
110 |
import java.io.*;
|
| 111 |
import java.math.BigDecimal;
|
111 |
import java.math.BigDecimal;
|
| 112 |
import java.math.RoundingMode;
|
- |
|
| 113 |
import java.nio.file.Files;
|
112 |
import java.nio.file.Files;
|
| 114 |
import java.nio.file.Paths;
|
113 |
import java.nio.file.Paths;
|
| 115 |
import java.sql.Timestamp;
|
114 |
import java.sql.Timestamp;
|
| 116 |
import java.text.DecimalFormat;
|
115 |
import java.text.DecimalFormat;
|
| 117 |
import java.time.*;
|
116 |
import java.time.*;
|
| Line 2235... |
Line 2234... |
| 2235 |
System.out.println(String.join("\t", Arrays.asList(priceDropIMEI.getImei(),
|
2234 |
System.out.println(String.join("\t", Arrays.asList(priceDropIMEI.getImei(),
|
| 2236 |
inventoryItem.getItemId() + "", item.getBrand(), item.getModelName(), item.getModelNumber(),
|
2235 |
inventoryItem.getItemId() + "", item.getBrand(), item.getModelName(), item.getModelNumber(),
|
| 2237 |
inventoryItem.getFofoId() + "", customRetailer.getBusinessName(),
|
2236 |
inventoryItem.getFofoId() + "", customRetailer.getBusinessName(),
|
| 2238 |
inventoryItem.getCreateTimestamp().format(dtf), priceDrop.getAffectedOn().format(dtf),
|
2237 |
inventoryItem.getCreateTimestamp().format(dtf), priceDrop.getAffectedOn().format(dtf),
|
| 2239 |
priceDropIMEI.getUpdateTimestamp().format(dtf),
|
2238 |
priceDropIMEI.getUpdateTimestamp().format(dtf),
|
| 2240 |
inventoryItem.getUpdateTimestamp().format(dtf), priceDrop.getAutoPartnerPayout() + "",
|
2239 |
inventoryItem.getUpdateTimestamp().format(dtf), priceDrop.getAutoPartnerPayout(inventoryItem.getUpdateTimestamp()) + "",
|
| 2241 |
inventoryItem.getLastScanType().equals(ScanType.DOA_OUT) + "")));
|
2240 |
inventoryItem.getLastScanType().equals(ScanType.DOA_OUT) + "")));
|
| 2242 |
}
|
2241 |
}
|
| 2243 |
}
|
2242 |
}
|
| 2244 |
}
|
2243 |
}
|
| 2245 |
}
|
2244 |
}
|