增加for循环

This commit is contained in:
xiangerlin 2025-07-03 19:39:49 +08:00
parent da159a25ee
commit 6a062c8cd1
1 changed files with 104 additions and 102 deletions

View File

@ -94,8 +94,9 @@ public class CInvoiceImportPluginServiceImpl implements ICInvoiceImportPluginSer
importHEntity.setStart_date_end(start_date_end); importHEntity.setStart_date_end(start_date_end);
List<CInvoiceImportHEntity> cInvoiceImportHList = cInvoiceImportHService.queryInvoiceList(importHEntity); List<CInvoiceImportHEntity> cInvoiceImportHList = cInvoiceImportHService.queryInvoiceList(importHEntity);
if (CollectionUtils.isNotEmpty(cInvoiceImportHList)) { if (CollectionUtils.isNotEmpty(cInvoiceImportHList)) {
for (CInvoiceImportHEntity cInvoiceH : cInvoiceImportHList) {
ParamAssembler assembler = null; ParamAssembler assembler = null;
CInvoiceImportHEntity cInvoiceH = cInvoiceImportHList.get(0); //CInvoiceImportHEntity cInvoiceH = cInvoiceImportHList.get(0);
cInvoiceH.setDataSourceCode(dataSourceCode); cInvoiceH.setDataSourceCode(dataSourceCode);
//2 查OA明细表 //2 查OA明细表
//3 查迈瑞思发票表 //3 查迈瑞思发票表
@ -207,6 +208,7 @@ public class CInvoiceImportPluginServiceImpl implements ICInvoiceImportPluginSer
cInvoiceImportHService.updateStatus(cInvoiceH); cInvoiceImportHService.updateStatus(cInvoiceH);
} }
} }
}
return null; return null;