SDf12 importer Long fix
This commit is contained in:
parent
f2b95b373f
commit
b25d9de2bd
1 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,8 @@ public class SDf12Table extends AbstractTable<SDf12> {
|
||||||
SDf12 result = new SDf12();
|
SDf12 result = new SDf12();
|
||||||
result.setAccount((String) entity[0]);
|
result.setAccount((String) entity[0]);
|
||||||
result.setDeal((String) entity[1]);
|
result.setDeal((String) entity[1]);
|
||||||
result.setStatus((Long) entity[2]);
|
BigDecimal status = (BigDecimal) entity[2];
|
||||||
|
result.setStatus(status != null ? status.longValue() : null);
|
||||||
result.setFileName(filename);
|
result.setFileName(filename);
|
||||||
result.setGenerationTime(Instant.now());
|
result.setGenerationTime(Instant.now());
|
||||||
result.setGenerationId(fileId);
|
result.setGenerationId(fileId);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue