Ver código fonte

仓库权限去除

yzc 10 meses atrás
pai
commit
f73e5681b7

+ 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());