|
|
@ -18,6 +18,7 @@ import lombok.Data;
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import lombok.experimental.SuperBuilder;
|
|
|
|
import lombok.experimental.SuperBuilder;
|
|
|
|
|
|
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* <pre>
|
|
|
|
* <pre>
|
|
|
@ -98,6 +99,13 @@ public class EPostDTO {
|
|
|
|
if("N".equals(this.header.successYN)){
|
|
|
|
if("N".equals(this.header.successYN)){
|
|
|
|
throw BizRuntimeException.create(this.header.errorMessage);
|
|
|
|
throw BizRuntimeException.create(this.header.errorMessage);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 배달 완료시 배달시간 set
|
|
|
|
|
|
|
|
if(ObjectUtils.isNotEmpty(this.trackInfo.receiveDate)){
|
|
|
|
|
|
|
|
String time = trackInfo.getDetaileTrackList().get(trackInfo.getDetaileTrackList().size()-1)
|
|
|
|
|
|
|
|
.getTime();
|
|
|
|
|
|
|
|
this.trackInfo.setReceiveDate(this.trackInfo.receiveDate + time.replace(":", ""));
|
|
|
|
|
|
|
|
}
|
|
|
|
return this.trackInfo;
|
|
|
|
return this.trackInfo;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|