单据同步bug

pro
anthonywj 2 years ago
parent 6130e90770
commit fde36ac636

@ -713,6 +713,7 @@ public class SpsSyncDownloadController {
List<IoOrderDetailResultEntity> orderDetailResultEntities = syncDataResponse.getOrderDetailResultEntities();
for (IoOrderDetailResultEntity detailResultEntity : orderDetailResultEntities) {
if (detailResultEntity.getOrderIdFk().equals(orderEntity.getBillNo())) {
detailResultEntity.setId(null);
orderDetailResultDao.insert(detailResultEntity);
}
}

Loading…
Cancel
Save