|
@@ -119,7 +119,7 @@ public class ProductInfoServiceImpl extends ServiceImpl<ProductInfoMapper, Produ
|
|
|
//权限过滤:产品-子公司看自己的产品,总公司看全部,物料没有限制
|
|
|
if (Objects.equals(dto.getDefinition(), 1)) {
|
|
|
Long companyId = SecurityUtils.getCompanyId();
|
|
|
- if (!Objects.equals(companyId, 100)) {
|
|
|
+ if (!Objects.equals(companyId, 100L)) {
|
|
|
wrapper.eq(ProductInfo::getCompanyId, companyId);
|
|
|
}
|
|
|
}
|