Merge pull request #343 from ashok-conflux/groupcodecleanup

Inherit Center meeting to child group
This commit is contained in:
Vishwas Babu A J
2013-06-07 05:23:43 -07:00
@@ -140,7 +140,7 @@ public class CalendarReadPlatformServiceImpl implements CalendarReadPlatformServ
String sqlCalendarTypeOptions = getSqlCalendarTypeOptionsInString(calendarTypeOptions); String sqlCalendarTypeOptions = getSqlCalendarTypeOptionsInString(calendarTypeOptions);
sql = rm.schema() + " " + parentHeirarchyCondition + " and ci.entity_type_enum = ? and c.calendar_type_enum in (" sql = rm.schema() + " " + parentHeirarchyCondition + " and ci.entity_type_enum = ? and c.calendar_type_enum in ("
+ sqlCalendarTypeOptions + ") order by c.start_date "; + sqlCalendarTypeOptions + ") order by c.start_date ";
result = this.jdbcTemplate.query(sql, rm, new Object[] { entityId, entityTypeId }); result = this.jdbcTemplate.query(sql, rm, new Object[] { entityId, CalendarEntityType.CENTERS.getValue() });
} }
return result; return result;
} }