fix:取放货接口取消睡眠

This commit is contained in:
zhouz
2025-09-30 11:17:32 +08:00
parent a277c92bf2
commit 61bf30c6dc

View File

@@ -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) {