@ -152,10 +152,12 @@ public class InvoiceQueryUtil {
// 通过税号获取id和key
log.info("查验一张发票信息税号为 taxNo{}",taxNo);
TAcOrg tacOrg = confirmDao.findIdAndKeyByTaxno(taxNo);
if(tacOrg != null) {
if (enterprisePermissionFlag) {
secretId = tacOrg.getAceId();
secretKey = tacOrg.getAceKey();
}
try {
InvoiceUtil iu = new InvoiceUtil(invoiceCode);