ruoyi-system/src/main/resources/mapper/system/VehicleGpsMapper.xml
@@ -37,7 +37,8 @@ <if test="altitude != null "> and g.altitude = #{altitude}</if> <if test="speed != null "> and g.speed = #{speed}</if> <if test="direction != null "> and g.direction = #{direction}</if> <if test="collectTime != null and collectTime != ''"> and g.collect_time = #{collectTime}</if> <if test="beginTime != null and beginTime != ''"> and g.collect_time >= #{beginTime}</if> <if test="endTime != null and endTime != ''"> and g.collect_time <= #{endTime}</if> </where> </select>