发票税务对接

This commit is contained in:
xiang2lin 2025-05-16 13:29:53 +08:00
parent 0b28fec32f
commit 35af8998d9
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ public class CInvoiceImportPluginServiceImpl implements ICInvoiceImportPluginSer
String id = requestJson.getString("id");//主表id String id = requestJson.getString("id");//主表id
CInvoiceImportHEntity importHEntity = new CInvoiceImportHEntity(); CInvoiceImportHEntity importHEntity = new CInvoiceImportHEntity();
importHEntity.setDataSourceCode(dataSourceCode); importHEntity.setDataSourceCode(dataSourceCode);
importHEntity.setId("3530025196803672389"); importHEntity.setId("6286766887088770238");
List<CInvoiceImportHEntity> cInvoiceImportHList = cInvoiceImportHService.queryInvoiceList(importHEntity); List<CInvoiceImportHEntity> cInvoiceImportHList = cInvoiceImportHService.queryInvoiceList(importHEntity);
if (CollectionUtils.isNotEmpty(cInvoiceImportHList)){ if (CollectionUtils.isNotEmpty(cInvoiceImportHList)){
ParamAssembler assembler = null; ParamAssembler assembler = null;
@ -83,7 +83,7 @@ public class CInvoiceImportPluginServiceImpl implements ICInvoiceImportPluginSer
//3 查迈瑞思发票表 //3 查迈瑞思发票表
//迈锐思发票公共信息表 //迈锐思发票公共信息表
LexmisPublicinfoEntity lexmisPublicinfoEntity = new LexmisPublicinfoEntity(cInvoiceH.getId(),dataSourceCode); LexmisPublicinfoEntity lexmisPublicinfoEntity = new LexmisPublicinfoEntity(cInvoiceH.getId(),dataSourceCode);
lexmisPublicinfoEntity.setPI_ID("-1294150280639986013"); lexmisPublicinfoEntity.setPI_ID("-95056949260236712");
List<LexmisPublicinfoEntity> lexmisPublicinfoEntityList = lexmisPublicinfoService.query(lexmisPublicinfoEntity); List<LexmisPublicinfoEntity> lexmisPublicinfoEntityList = lexmisPublicinfoService.query(lexmisPublicinfoEntity);
if (CollectionUtils.isNotEmpty(lexmisPublicinfoEntityList)){ if (CollectionUtils.isNotEmpty(lexmisPublicinfoEntityList)){
//税务接口每次最多传50张发票 //税务接口每次最多传50张发票