|
|
|
@ -11,11 +11,7 @@ import java.util.*; |
|
|
|
|
import javax.annotation.Resource; |
|
|
|
|
import javax.crypto.Mac; |
|
|
|
|
import javax.crypto.spec.SecretKeySpec; |
|
|
|
|
|
|
|
|
|
import com.dxhy.core.job.thread.InvoiceParseHandle; |
|
|
|
|
import org.apache.commons.lang.StringUtils; |
|
|
|
|
import org.redisson.api.RLock; |
|
|
|
|
import org.redisson.api.RedissonClient; |
|
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
|
import org.springframework.data.redis.core.StringRedisTemplate; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
@ -40,6 +36,7 @@ import com.dxhy.core.rabbitmq.Sender; |
|
|
|
|
import cn.hutool.core.codec.Base64; |
|
|
|
|
import cn.hutool.http.HttpUtil; |
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 功能描述 |
|
|
|
@ -531,7 +528,7 @@ public class InvoiceInterfaceServiceImpl implements InvoiceInterfaceService { |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
|
public void sendSelectRequest(String taxno, String db, String aceId, String aceKey) { |
|
|
|
|
public void sendSelectRequest(String taxno, String db, String aceId, String aceKey) throws Exception { |
|
|
|
|
// 请求通用头
|
|
|
|
|
GlobalInfo globalInfo = new GlobalInfo(); |
|
|
|
|
// 请求通用
|
|
|
|
@ -615,7 +612,7 @@ public class InvoiceInterfaceServiceImpl implements InvoiceInterfaceService { |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
|
|
|
|
|
throw new Exception(e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|