mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Remove commented code lines
This commit is contained in:
parent
72edb6c323
commit
1faee050af
@ -914,11 +914,6 @@ public class GenericDeviceDAOImpl extends AbstractDeviceDAOImpl {
|
|||||||
deviceIds.stream().map(ignored -> "?").forEach(joiner::add);
|
deviceIds.stream().map(ignored -> "?").forEach(joiner::add);
|
||||||
String query = joiner.toString();
|
String query = joiner.toString();
|
||||||
|
|
||||||
// if (status != null && !status.isEmpty()) {
|
|
||||||
// query = query + " AND DM_ENROLMENT.STATUS=?";
|
|
||||||
// isStatusProvided = true;
|
|
||||||
// }
|
|
||||||
|
|
||||||
if (status != null && !status.isEmpty()) {
|
if (status != null && !status.isEmpty()) {
|
||||||
query += buildStatusQuery(status);
|
query += buildStatusQuery(status);
|
||||||
isStatusProvided = true;
|
isStatusProvided = true;
|
||||||
@ -974,10 +969,6 @@ public class GenericDeviceDAOImpl extends AbstractDeviceDAOImpl {
|
|||||||
deviceIds.stream().map(ignored -> "?").forEach(joiner::add);
|
deviceIds.stream().map(ignored -> "?").forEach(joiner::add);
|
||||||
String query = joiner.toString();
|
String query = joiner.toString();
|
||||||
|
|
||||||
// if (!StringUtils.isBlank(status)) {
|
|
||||||
// query = query + " AND e.STATUS = ?";
|
|
||||||
// }
|
|
||||||
|
|
||||||
if (status != null && !status.isEmpty()) {
|
if (status != null && !status.isEmpty()) {
|
||||||
query += buildStatusQuery(status);
|
query += buildStatusQuery(status);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user