DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverOnlineMapper.xml
@@ -47,6 +47,13 @@ `date` as `date`, duration as duration, assessment as assessment from t_driver_online where DATE_FORMAT(`date`, '%Y-%m-%d') = #{day} and type = #{type} and duration >= #{duration} from t_driver_online where DATE_FORMAT(`date`, '%Y-%m-%d') = #{day} <if test="null != driverId"> and driverId = #{driverId} </if> <if test="null != type"> and type = #{type} </if> and duration >= #{duration} </select> </mapper>