fix:取放货接口取消睡眠
This commit is contained in:
@@ -159,10 +159,11 @@ public class BstIvtPackageinfoivtServiceImpl extends ServiceImpl<BstIvtPackagein
|
|||||||
JSONObject result = new JSONObject();
|
JSONObject result = new JSONObject();
|
||||||
result.put("status", HttpStatus.BAD_REQUEST.value());
|
result.put("status", HttpStatus.BAD_REQUEST.value());
|
||||||
RedissonUtils.lock(c -> {
|
RedissonUtils.lock(c -> {
|
||||||
try {
|
//用于解决主从延迟的问题
|
||||||
|
/* try {
|
||||||
Thread.sleep(1000);
|
Thread.sleep(1000);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
}
|
}*/
|
||||||
String pointCode = "";
|
String pointCode = "";
|
||||||
String action = "";
|
String action = "";
|
||||||
switch (actionType) {
|
switch (actionType) {
|
||||||
|
|||||||
Reference in New Issue
Block a user