@@ -72,7 +72,9 @@ public class DriverServiceImpl extends ServiceImpl<DriverMapper, TauvDriver> imp | |||
// 查询条件 | |||
QueryWrapper<TauvDriver> queryWrapper = new QueryWrapper<>(); | |||
queryWrapper.in("driver_area", driverArea); | |||
if (!driverAreaList.isEmpty()) { | |||
queryWrapper.in("driver_area", driverArea); | |||
} | |||
queryWrapper.eq("status", 1); | |||
queryWrapper.eq("mark", 1); | |||
IPage<TauvDriver> page = new Page<>(query.getPage(), query.getPageSize()); |