|
@@ -63,7 +63,7 @@ public class StockSnapshotDetailsServiceImpl extends ServiceImpl<StockSnapshotDe
|
|
|
|
|
|
wrapper.eq("pi.product_classify_id", dto.getProductClassifyId());
|
|
|
|
|
|
- //权限过滤:库存-子公司看自己的,总公司看全部
|
|
|
+ //权限过滤:库存快照-子公司看自己的,总公司看全部
|
|
|
Long companyId = SecurityUtils.getCompanyId();
|
|
|
if (!Objects.equals(companyId, 100L)) {
|
|
|
wrapper.eq("ssd.company_id", companyId);
|