Add fix to load default app categories in tenants

pull/29/head
prathabanKavin 2 years ago
parent a21c88f3a7
commit fe3088402c

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

Loading…
Cancel
Save