updated code
This commit is contained in:
@@ -275,12 +275,8 @@ public class CallDao {
|
||||
createCallResponseBean.setId(callEntity.getId());
|
||||
createCallResponseBean.setName(callEntity.getName());
|
||||
List<LocalDateTime> dates = new ArrayList<>();
|
||||
if(callEntity.getStartDate() != null) {
|
||||
dates.add(callEntity.getStartDate());
|
||||
}
|
||||
if(callEntity.getStartDate() != null) {
|
||||
dates.add(callEntity.getEndDate());
|
||||
}
|
||||
dates.add(callEntity.getStartDate());
|
||||
dates.add(callEntity.getEndDate());
|
||||
createCallResponseBean.setDates(dates);
|
||||
createCallResponseBean.setDescriptionShort(callEntity.getDescriptionShort());
|
||||
createCallResponseBean.setDescriptionLong(callEntity.getDescriptionLong());
|
||||
|
||||
Reference in New Issue
Block a user