无关风月
2024-09-06 6a90f2d1feaf583c211d5f9fe95dff7f7c748ed3
DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml
@@ -215,7 +215,7 @@
    <select id="queryByCompanyId" resultType="Driver">
        select *
        from t_driver where flag != 3
        from t_driver where flag != 3 and authState = 2
        <choose>
            <when test="companyId == 1">
                and (companyId = 1 or companyId is null or companyId = 0) and (franchiseeId = 0 or franchiseeId is null)