|
@@ -1418,6 +1418,13 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
|
|
|
Integer dataCount1 = baseMapper.getCountByCondition(pageView1);
|
|
|
warehouseBaseInfo.setCount(dataCount);
|
|
|
warehouseBaseInfo.setTradeCount(dataCount1);
|
|
|
+ Map<String, Object> pageView2 = new HashMap<>();
|
|
|
+ pageView2.put("warehouseName", warehouseBaseInfo.getWarehouseName());
|
|
|
+ pageView2.put("compId", warehouseBaseInfo.getCompId());
|
|
|
+ pageView2.put("serviceManagementType","2");
|
|
|
+ // 查询出库信息包括已删除的
|
|
|
+ Integer dataCount2 = baseMapper.getCountByCondition(pageView2);
|
|
|
+ warehouseBaseInfo.setOutCount(dataCount2);
|
|
|
}
|
|
|
} else {
|
|
|
String staffId = AuthSecurityUtils.getStaffById(AuthSecurityUtils.getCurrentUserId()).getStaffId();
|
|
@@ -1455,6 +1462,13 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
|
|
|
Integer dataCount1 = baseMapper.getCountByCondition(pageView1);
|
|
|
warehouseBaseInfo.setCount(dataCount);
|
|
|
warehouseBaseInfo.setTradeCount(dataCount1);
|
|
|
+ Map<String, Object> pageView2 = new HashMap<>();
|
|
|
+ pageView2.put("warehouseName", warehouseBaseInfo.getWarehouseName());
|
|
|
+ pageView2.put("compId", warehouseBaseInfo.getCompId());
|
|
|
+ pageView2.put("serviceManagementType","2");
|
|
|
+ // 查询出库信息包括已删除的
|
|
|
+ Integer dataCount2 = baseMapper.getCountByCondition(pageView2);
|
|
|
+ warehouseBaseInfo.setOutCount(dataCount2);
|
|
|
warehouseBaseInfoList.add(warehouseBaseInfo);
|
|
|
}
|
|
|
break;
|