Minor changes in Calendare read queries
This commit is contained in:
+2
-2
@@ -142,12 +142,12 @@ public class CalendarReadPlatformServiceImpl implements CalendarReadPlatformServ
|
|||||||
|
|
||||||
case GROUPS:
|
case GROUPS:
|
||||||
//TODO : AA: add parent hierarchy for groups
|
//TODO : AA: add parent hierarchy for groups
|
||||||
conditionSql = " and ci.entity_id = ? ) ";
|
conditionSql = " and ci.entity_id in (select g.parent_id from m_group g where g.id = ? ) ";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LOANS:
|
case LOANS:
|
||||||
//TODO : AA: do we need parent hierarchy calendars for loans?
|
//TODO : AA: do we need parent hierarchy calendars for loans?
|
||||||
conditionSql = " and ci.entity_id = ? ) ";
|
conditionSql = " and ci.entity_id = ? ";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user