yanghb
2023-04-21 59f70d9b19408d36f40ee0f418bf98232c40fb33
DispatchTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml
@@ -191,11 +191,4 @@
        updateUser as updateUser
        from t_driver where flag != 3 and authState = 2 and carId = #{carId}
    </select>
    <select id="getServerDriverList" resultType="Driver">
        select a.* from t_driver a
        left join t_driver_service b on (a.id = b.driverId)
        left join t_driver_work c on (a.id = c.driverId)
        where a.companyId = #{companyId} and a.authState = 2 and a.state = 2 and a.flag != 3 and b.type = #{orderType} and c.state = 1 and c.type like CONCAT('%', #{orderType}, '%') and c.endTime is null
    </select>
</mapper>