updated code

This commit is contained in:
rajesh
2024-08-28 18:01:29 +05:30
parent 75db09eb12
commit b4548876a9

View File

@@ -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());
}
createCallResponseBean.setDates(dates);
createCallResponseBean.setDescriptionShort(callEntity.getDescriptionShort());
createCallResponseBean.setDescriptionLong(callEntity.getDescriptionLong());