|
@@ -8,7 +8,6 @@ import com.ruoyi.system.omgpay.domain.OmgPaymentOrderSnapshot;
|
|
|
import com.ruoyi.system.omgpay.mapper.OmgPaymentAttemptMapper;
|
|
import com.ruoyi.system.omgpay.mapper.OmgPaymentAttemptMapper;
|
|
|
import com.ruoyi.system.omgpay.service.IOmgPaymentAttemptService;
|
|
import com.ruoyi.system.omgpay.service.IOmgPaymentAttemptService;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
-import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
|
|
|
|
|
@@ -39,7 +38,6 @@ public class OmgPaymentAttemptServiceImpl implements IOmgPaymentAttemptService {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
- @Transactional(rollbackFor = Exception.class)
|
|
|
|
|
public OmgPaymentAttempt createCreated(String ddId, String merchantTradeNo, Long storeId,
|
|
public OmgPaymentAttempt createCreated(String ddId, String merchantTradeNo, Long storeId,
|
|
|
String merchantId, Integer amount) {
|
|
String merchantId, Integer amount) {
|
|
|
validateCreatedFacts(ddId, merchantTradeNo, storeId, merchantId, amount);
|
|
validateCreatedFacts(ddId, merchantTradeNo, storeId, merchantId, amount);
|