Explorar el Código

[A端][修复]:分账账户重复添加的问题

release_toaliyun_real
hupeng hace 7 años
padre
commit
0fdee10316
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxMerchantServiceImpl.java

+ 3
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxMerchantServiceImpl.java Ver fichero

@@ -18,6 +18,8 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.*;
@@ -330,7 +332,7 @@ public class WxMerchantServiceImpl implements WxMerchantService {

}

@Transactional(rollbackFor = {Exception.class})
@Transactional(isolation=Isolation.SERIALIZABLE, propagation = Propagation.REQUIRED, rollbackFor = {Exception.class})
@Override
public ResultData updateMerchantAccount(WxMerchant wxMerchant) {
try {


Cargando…
Cancelar
Guardar