sgj
8 天以前 22a4f2b58fa1baa233e621d1406df456b516b4b1
fzzy-igdss-inte/src/main/java/com/fzzy/igds/app/v1/service/impl/ServiceImpl5206.java
@@ -63,7 +63,7 @@
            param.setDeptId(authUser.getDeptId());
        }
        //获取所有筒仓及浅圆仓
        List<Depot> depotList = depotService.getCacheDepotList(param.getDeptId());
        List<Depot> depotList = depotService.getCacheDepotList(ContextUtil.getCompanyId(), param.getDeptId());
        if (null == depotList || depotList.isEmpty()) {
            return PhoneRespUtil.error(RespCodeEnum.CODE_1111, "未查到信息!!");
        }
@@ -79,13 +79,13 @@
                if (null == quantityList || quantityList.isEmpty()) {
                    quantity.setDepotId(depot.getId());
                } else {
                    BeanUtils.copyProperties(quantityList.get(0),quantity);
                    BeanUtils.copyProperties(quantityList.get(0), quantity);
                    dept = deptService.getCacheDept(depot.getCompanyId(), depot.getDeptId());
                    quantity.setDepotData(depot);
                    quantity.setDeptName(dept.getDeptName());
                    list.add(quantity);
                }
                dept = deptService.getCacheDept(depot.getCompanyId(),depot.getDeptId());
                quantity.setDepotData(depot);
                quantity.setDeptName(dept.getDeptName());
                list.add(quantity);
            }
        }