| | |
| | | a.emergencyContactNumber as emergencyContactNumber, |
| | | a.balance as balance, |
| | | if((select count(1) from t_user_taxi_card where userId = #{uid}) = 0, 0, 1) as payTaxiCar, |
| | | if((select id from t_merchant where auditStatus = 2 and userType = 1 and userId = a.id and state = 1) is null, 0, 1) as merchant |
| | | if((select id from t_merchant where auditStatus = 2 and userType = 1 and userId = a.id and state = 1) is null, 0, 1) as merchant, |
| | | a.isDriverRide, |
| | | a.driverId |
| | | from t_user a where 1 = 1 |
| | | <if test="null != uid"> |
| | | and a.id = #{uid} |