Ver Fonte

doDecrAndCreateOrder 去除事务注解

dinglan há 2 anos atrás
pai
commit
ca66cbbe7d

+ 1 - 1
src/main/java/com/sw/service/impl/SnatchMaskServiceImpl.java

@@ -156,7 +156,7 @@ public class SnatchMaskServiceImpl implements SnatchMaskService {
      * @param maskId
      */
     @Override
-    @Transactional
+//    @Transactional
     public void doDecrAndCreateOrder(Integer uid, Integer maskId) {
         RLock lock = redissonClient.getLock("mask-" + maskId);
         String threadName = Thread.currentThread().getName();