单据上传轮询遍历问题

dev
anthonywj 2 years ago
parent c386367832
commit 721730166b

@ -904,7 +904,7 @@ public class IoOrderServiceImpl implements IoOrderService {
public BaseResponse submitOrderToThrSys(ThrSystemDetailEntity thrSystemDetailEntity) {
//查询可以提交到第三方系统的单据
SyncUploadDataSetEntity syncUploadDataSetEntity = syncUploadDataSetService.selectSet();
List<String> billNos = orderDao.selectWaitSubmitOrder(thrSystemDetailEntity.getThirdSysFk(), syncUploadDataSetEntity.getOrderStartTime());
List<String> billNos = orderDao.selectWaitSubmitOrder(thrSystemDetailEntity.getThirdSysFk(), syncUploadDataSetEntity.getOrderStartTime() + " 00:00:00");
if (CollUtil.isNotEmpty(billNos)) {
log.info("开始提交单据到第三方系统,本次提交单据数量:{}", billNos.size());
for (String billNo : billNos) {
@ -935,7 +935,7 @@ public class IoOrderServiceImpl implements IoOrderService {
continue;
}
}
return submitToThrSys(billNo);
submitToThrSys(billNo);
}
log.info("单据提交完成");
}

Loading…
Cancel
Save