http://jira.mfd.msk:8088/browse/CLS-791 DF56 empty values fixed
This commit is contained in:
parent
a2bf45e292
commit
dbe967de51
1 changed files with 2 additions and 3 deletions
|
|
@ -5,7 +5,6 @@ import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
|
|||
import java.time.Instant;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.ZoneId;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.Objects;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import ru.clearing.classes.statics.data.sdf.SDf56;
|
||||
|
|
@ -48,8 +47,8 @@ public class DF56ObjectTag extends ObjectTag<SDf56> {
|
|||
this.startDatetime = Instant.ofEpochMilli(this.startUnixtime).atZone(ZoneId.systemDefault()).toLocalDateTime();
|
||||
this.endUnixtime = Long.valueOf(entity.getEnd_datetime());
|
||||
this.endDatetime = Instant.ofEpochMilli(this.endUnixtime).atZone(ZoneId.systemDefault()).toLocalDateTime();
|
||||
this.account = entity.getAccount();
|
||||
this.deal = entity.getDeal();
|
||||
this.account = entity.getAccount() == null ? "" : entity.getAccount();
|
||||
this.deal = entity.getDeal() == null ? "" : entity.getDeal();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue