WIP: Add fix to load default app categories in tenants #29

Closed
prathabanKavin wants to merge 1 commits from prathabanKavin/device-mgt-core:appcategoryfix into master

@ -906,7 +906,8 @@ public class GenericApplicationDAOImpl extends AbstractDAOImpl implements Applic
+ "AP_APP_CATEGORY.ID AS ID, "
+ "AP_APP_CATEGORY.CATEGORY AS CATEGORY "
+ "FROM AP_APP_CATEGORY "
+ "WHERE TENANT_ID = ?";
+ "WHERE TENANT_ID = ?"
+ "OR TENANT_ID = -1234";
try {
List<CategoryDTO> categories = new ArrayList<>();
Connection conn = this.getDBConnection();

Loading…
Cancel
Save