代码锁更新

This commit is contained in:
ludj
2023-02-16 20:16:52 +08:00
parent f78fd03e4a
commit 977110a29f

View File

@@ -522,7 +522,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
result.put("status", HttpStatus.OK.value());
result.put("message", "反馈成功!");
RLock lock = redissonClient.getLock("acs_to_wms:" + type);
RLock lock = redissonClient.getLock("AcsToWmsServiceImpl_deviceApply:" + type);
boolean tryLock = lock.tryLock(5, TimeUnit.SECONDS);
try {