|
|
|
@ -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("单据提交完成");
|
|
|
|
|
}
|
|
|
|
|