Pārlūkot izejas kodu

doDecrAndCreateOrder 去除事务注解

dinglan 2 gadi atpakaļ
vecāks
revīzija
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();