Fix APPs getting issue in APPM DAO

pull/205/head
tcdlpds 1 year ago
parent 3066e51354
commit f9ae594326

@ -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