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