mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Remove status field from get next operations query
This commit is contained in:
parent
6a1cf1b3f8
commit
61ebf6beb4
@ -313,7 +313,7 @@ public class OperationDAOImpl implements OperationDAO {
|
||||
|
||||
try {
|
||||
Connection connection = OperationManagementDAOFactory.getConnection();
|
||||
stmt = connection.prepareStatement("SELECT o.ID, TYPE, CREATED_TIMESTAMP, RECEIVED_TIMESTAMP " +
|
||||
stmt = connection.prepareStatement("SELECT o.ID, TYPE, CREATED_TIMESTAMP, RECEIVED_TIMESTAMP, " +
|
||||
"OPERATION_CODE FROM DM_OPERATION o " +
|
||||
"INNER JOIN (Select * from DM_DEVICE_OPERATION_MAPPING dm " +
|
||||
"where dm.DEVICE_ID=? AND dm.STATUS=?) om ON o.ID = om.OPERATION_ID " +
|
||||
|
||||
Loading…
Reference in New Issue
Block a user