|
|
@@ -895,11 +895,11 @@ public class SalesOrderController {
|
|
|
|
|
|
// 查询库存视图并映射为库存列表
|
|
|
QueryWrapper<ViewWhqohSel> stockQuery = new QueryWrapper<>();
|
|
|
- stockQuery.in(codeArray.length > 0, "Item_Code", codeArray);
|
|
|
+ stockQuery.in(codeArray.length > 0, "Item_Code", codeArray1);
|
|
|
List<ViewWhqohSel> viewWhqohSelList = zcrmViewWhqohSelService.list(stockQuery);
|
|
|
System.err.println("库存视图查询结果数量:" + viewWhqohSelList.size());
|
|
|
if (viewWhqohSelList.isEmpty()) {
|
|
|
- System.err.println("库存视图无匹配数据,查询条件:" + Arrays.toString(codeArray));
|
|
|
+ System.err.println("库存视图无匹配数据,查询条件:" + Arrays.toString(codeArray1));
|
|
|
}
|
|
|
List<PjpfStockDesc> stockList = viewWhqohSelList.stream().map(whqoh -> {
|
|
|
PjpfStockDesc stock = new PjpfStockDesc();
|