puzhibing
2026-01-26 7cfe226547265ef3944349bdde4e7b4e099c3f22
DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/DriverServiceImpl.java
@@ -150,6 +150,9 @@
    @Autowired
    private GeodesyUtil geodesyUtil;
    @Value("${spring.profiles.active}")
    private String activeProfile;
    @Override
    public List<Driver> queryIdleDriver(Integer type, Double lon, Double lat, Double distance, Integer companyId) throws Exception {
@@ -646,7 +649,7 @@
                }
            }
            //专车业务需要校验
            if(0 == driver.getIsSynchronous() && (type.contains("1") || type.contains("3"))){
            if("prod".equals(activeProfile) && 0 == driver.getIsSynchronous() && (type.contains("1") || type.contains("3"))){
                return ResultUtil.error("请先开通钱包");
            }
            //判断车辆是否正在使用中