@Override public LambdaQueryWrapper<Station> wrapper(Station station) { LambdaQueryWrapper<Station> wrapper = new LambdaQueryWrapper<>(); Map<SFunction<Station,?>, String> map = new HashMap<>(); map.put(Station::getStationId, station.getStationId()); map.put(Station::getStationName, station.getStationName()); map.put(Station::getStationGroupId, station.getStationGroupId()); map.put(Station::getStationParentId, station.getStationParentId()); map.put(Station::getStationSonId, station.getStationSonId()); wrapper.allEq(map); return wrapper; }
wrapper构造器的AllEq用法
最新推荐文章于 2024-04-02 10:00:00 发布