Эх сурвалжийг харах

问题处理仓库权限还原

yzc 1 жил өмнө
parent
commit
65136fecfe

+ 2 - 2
hx-wms/src/main/java/com/fjhx/wms/service/warehouse/impl/WarehouseServiceImpl.java

@@ -46,8 +46,8 @@ public class WarehouseServiceImpl extends ServiceImpl<WarehouseMapper, Warehouse
         wrapper.like("w", Warehouse::getName, dto.getKeyword());
         wrapper.eq("w", Warehouse::getType, dto.getType());
 
-//        //权限过滤:仓库
-//        wrapper.in("w", Warehouse::getCompanyId, SecurityUtils.getCompanyIds());
+        //权限过滤:仓库
+        wrapper.in("w", Warehouse::getCompanyId, SecurityUtils.getCompanyIds());
         wrapper.eq("w", Warehouse::getCompanyId, dto.getCompanyId());