Create add-to-order

This commit is contained in:
acmexii
2020-10-13 10:48:08 +09:00
committed by GitHub
parent 081b189281
commit 1a2f273e79

8
add-to-order Normal file
View File

@@ -0,0 +1,8 @@
@PrePersist
public void onPrePersist(){
try {
Thread.currentThread().sleep((long) (800 + Math.random() * 220));
} catch (InterruptedException e) {
e.printStackTrace();
}
}