陶杰
2024-09-19 5c57ed6a4fb53d016e0d77864d0a4a8341bd4efb
src/main/java/com/mzl/flower/service/supplier/StationService.java
@@ -96,4 +96,8 @@
        List<StationDTO> list = stationMapper.queryList( name);
        return list;
    }
    public Boolean getMainWarehouse(String userId) {
        return stationMapper.selectCount(new LambdaQueryWrapper<Station>().eq(Station::getType,"0").like(Station::getUserIds, userId))>0;
    }
}