|
@@ -44,7 +44,6 @@ public class Scene3dNumServiceImpl extends ServiceImpl<IScene3dNumMapper, Scene3
|
|
|
@Autowired
|
|
|
RedisLockUtil redisLockUtil;
|
|
|
|
|
|
- @Transactional(propagation = Propagation.NOT_SUPPORTED)
|
|
|
@Override
|
|
|
public String generateSceneNum(){
|
|
|
// 从缓存中获取
|
|
@@ -53,7 +52,6 @@ public class Scene3dNumServiceImpl extends ServiceImpl<IScene3dNumMapper, Scene3
|
|
|
return sceneNum;
|
|
|
}
|
|
|
// 分布式加锁
|
|
|
- log.info("redisutil:" + redisUtil.toString());
|
|
|
Long loading = redisUtil.incr(RedisLockKey.LOCK_FDKANKAN_SCENE_NUMS, 1);
|
|
|
if (loading.compareTo(1L) == 0) {
|
|
|
try {
|