|
@@ -337,8 +337,8 @@ public class YongyouServiceImpl implements YongyouService {
|
|
|
}
|
|
|
GetCurrentStockResponseData data = response.getData();
|
|
|
List<GetCurrentStock> stocks = data.getStock();
|
|
|
- if (stocks==null){
|
|
|
- this.selectPageList4(record,pageNum,pageSize);
|
|
|
+ if (stocks == null || stocks.size() == 0){
|
|
|
+ return this.selectPageList4(record,pageNum,pageSize);
|
|
|
}
|
|
|
List<SpareStoreVO> partInfoVOS = new ArrayList<>();
|
|
|
for (GetCurrentStock stockResponse : stocks) {
|