mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix APPs getting issue in APPM DAO
This commit is contained in:
parent
3066e51354
commit
f9ae594326
@ -293,11 +293,11 @@ public class ApplicationDAOImpl implements ApplicationDAO {
|
||||
"WHERE A.NAME = DM_APPLICATION.NAME " +
|
||||
"AND A.ID < DM_APPLICATION.ID) " +
|
||||
"AND PLATFORM = ? " +
|
||||
"AND TENANT_ID = ?";
|
||||
"AND TENANT_ID = ? ";
|
||||
try {
|
||||
String filter = request.getFilter();
|
||||
if (filter != null) {
|
||||
sql = sql + "AND NAME LIKE ?";
|
||||
sql = sql + "AND NAME LIKE ? ";
|
||||
}
|
||||
sql = sql + "LIMIT ? OFFSET ?";
|
||||
Connection conn = this.getConnection();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user