Fix APPs getting issue in APPM DAO

mssqldbscriptfix
commit cf5664bb59

@ -293,11 +293,11 @@ public class ApplicationDAOImpl implements ApplicationDAO {
"WHERE A.NAME = DM_APPLICATION.NAME " + "WHERE A.NAME = DM_APPLICATION.NAME " +
"AND A.ID < DM_APPLICATION.ID) " + "AND A.ID < DM_APPLICATION.ID) " +
"AND PLATFORM = ? " + "AND PLATFORM = ? " +
"AND TENANT_ID = ?"; "AND TENANT_ID = ? ";
try { try {
String filter = request.getFilter(); String filter = request.getFilter();
if (filter != null) { if (filter != null) {
sql = sql + "AND NAME LIKE ?"; sql = sql + "AND NAME LIKE ? ";
} }
sql = sql + "LIMIT ? OFFSET ?"; sql = sql + "LIMIT ? OFFSET ?";
Connection conn = this.getConnection(); Connection conn = this.getConnection();

Loading…
Cancel
Save