mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Change operation status to varchar
This commit is contained in:
parent
01d57a15d8
commit
80bf3640f6
@ -48,7 +48,7 @@ public class OperationDAOImpl implements OperationDAO {
|
|||||||
stmt.setString(1, operation.getType().toString());
|
stmt.setString(1, operation.getType().toString());
|
||||||
stmt.setTimestamp(2, new Timestamp(new Date().getTime()));
|
stmt.setTimestamp(2, new Timestamp(new Date().getTime()));
|
||||||
stmt.setTimestamp(3, null);
|
stmt.setTimestamp(3, null);
|
||||||
stmt.setBoolean(4, false);
|
stmt.setString(4, Operation.Status.PENDING.toString());
|
||||||
stmt.executeUpdate();
|
stmt.executeUpdate();
|
||||||
|
|
||||||
rs = stmt.getGeneratedKeys();
|
rs = stmt.getGeneratedKeys();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user