mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix app installing issue in kiosk
This commit is contained in:
parent
1e7f075ec0
commit
3ca303cdb5
@ -119,11 +119,11 @@ public class SQLServerApplicationDAOImpl extends GenericApplicationDAOImpl {
|
||||
}
|
||||
|
||||
if (filter.getLimit() == -1) {
|
||||
sql = sql.replace("OFFSET ? ROWS FETCH NEXT ? ROWS ONLY", "");
|
||||
sql = sql.replace("ORDER BY ID OFFSET ? ROWS FETCH NEXT ? ROWS ONLY", "");
|
||||
}
|
||||
|
||||
String sortingOrder = "ASC";
|
||||
if (!StringUtils.isEmpty(filter.getSortBy() )) {
|
||||
if (!StringUtils.isEmpty(filter.getSortBy())) {
|
||||
sortingOrder = filter.getSortBy();
|
||||
}
|
||||
sql += " ORDER BY APP_ID " + sortingOrder;
|
||||
|
||||
@ -51,6 +51,7 @@ public class MDMAndroidOperationUtil {
|
||||
EnterpriseApplication enterpriseApplication = new EnterpriseApplication();
|
||||
enterpriseApplication.setType(application.getType().toString());
|
||||
enterpriseApplication.setUrl(application.getLocation());
|
||||
enterpriseApplication.setAppIdentifier(application.getIdentifier());
|
||||
operation.setPayLoad(enterpriseApplication.toJSON());
|
||||
break;
|
||||
case PUBLIC:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user