redission修改
This commit is contained in:
@@ -522,11 +522,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
result.put("status", HttpStatus.OK.value());
|
result.put("status", HttpStatus.OK.value());
|
||||||
result.put("message", "反馈成功!");
|
result.put("message", "反馈成功!");
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
RLock lock = redissonClient.getLock("acs_to_deviceApply_wms:" + type);
|
RLock lock = redissonClient.getLock("acs_to_deviceApply_wms:" + type);
|
||||||
=======
|
|
||||||
RLock lock = redissonClient.getLock("AcsToWmsServiceImpl_deviceApply:" + type);
|
|
||||||
>>>>>>> 977110a29f1889255889822be9a0ba275ad2fde6
|
|
||||||
boolean tryLock = lock.tryLock(5, TimeUnit.SECONDS);
|
boolean tryLock = lock.tryLock(5, TimeUnit.SECONDS);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user