Create add-to-order
This commit is contained in:
8
add-to-order
Normal file
8
add-to-order
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
@PrePersist
|
||||||
|
public void onPrePersist(){
|
||||||
|
try {
|
||||||
|
Thread.currentThread().sleep((long) (800 + Math.random() * 220));
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user