Fix space in getAppCount query

remotes/1725563413541109883/master
Lasantha Dharmakeerthi 4 months ago
commit d53ab7cea2

@ -313,7 +313,7 @@ public class GenericApplicationDAOImpl extends AbstractDAOImpl implements Applic
sql += " AND AP_APP_RELEASE.CURRENT_STATE = ?"; sql += " AND AP_APP_RELEASE.CURRENT_STATE = ?";
} }
if (deviceTypeId != -1) { if (deviceTypeId != -1) {
sql += "AND (AP_APP.DEVICE_TYPE_ID = ? "; sql += " AND (AP_APP.DEVICE_TYPE_ID = ? ";
if (filter.isWithWebApps()) { if (filter.isWithWebApps()) {
sql += "OR AP_APP.DEVICE_TYPE_ID = 0 "; sql += "OR AP_APP.DEVICE_TYPE_ID = 0 ";
} }

Loading…
Cancel
Save