Commit f00d9d73 authored by wujiang's avatar wujiang

提交权限过滤

parent 3a3584a7
......@@ -187,7 +187,7 @@ public interface ICarService extends IService<Car> {
IPage getQRCode(Long id);
List<Car> location();
List<Car> location(String orgCode);
// 获取车辆总数
Map<String,Integer> getCountOfCar();
......
......@@ -1442,8 +1442,8 @@ public class CarServiceImpl extends ServiceImpl<CarMapper, Car> implements ICarS
}
@Override
public List<Car> location() {
List<Car> list = this.list();
public List<Car> location(String orgCode) {
List<Car> list = this.list(new LambdaQueryWrapper<Car>().like(Car::getBizOrgCode, orgCode));
return list;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment