From 5b2ddb22e0bec50ad9aa9bccb2f3b2505e5278e4 Mon Sep 17 00:00:00 2001
From: tangwenkang <2720983602@qq.com>
Date: Wed, 29 Nov 2023 20:38:23 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../dragon/vehicle/history/common/domain/VehicleOperation.java | 2 ++
vehicle-history-server/pom.xml | 1 -
.../history/server/controller/LatestTrackController.java | 1 -
.../vehicle/history/server/service/impl/CarServiceImpl.java | 1 +
4 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/vehicle-history-common/src/main/java/com/dragon/vehicle/history/common/domain/VehicleOperation.java b/vehicle-history-common/src/main/java/com/dragon/vehicle/history/common/domain/VehicleOperation.java
index c8150ad..0b1a201 100644
--- a/vehicle-history-common/src/main/java/com/dragon/vehicle/history/common/domain/VehicleOperation.java
+++ b/vehicle-history-common/src/main/java/com/dragon/vehicle/history/common/domain/VehicleOperation.java
@@ -7,7 +7,9 @@ import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
+import org.springframework.context.annotation.Bean;
+import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
diff --git a/vehicle-history-server/pom.xml b/vehicle-history-server/pom.xml
index 9db41e1..bdf4f6a 100644
--- a/vehicle-history-server/pom.xml
+++ b/vehicle-history-server/pom.xml
@@ -65,7 +65,6 @@
com.dragon
dragon-common-datasource
-
com.dragon
diff --git a/vehicle-history-server/src/main/java/com/dragon/vehicle/history/server/controller/LatestTrackController.java b/vehicle-history-server/src/main/java/com/dragon/vehicle/history/server/controller/LatestTrackController.java
index c60f5d4..e8801f6 100644
--- a/vehicle-history-server/src/main/java/com/dragon/vehicle/history/server/controller/LatestTrackController.java
+++ b/vehicle-history-server/src/main/java/com/dragon/vehicle/history/server/controller/LatestTrackController.java
@@ -2,7 +2,6 @@ package com.dragon.vehicle.history.server.controller;
import com.dragon.common.core.domain.Result;
import com.dragon.vehicle.history.common.domain.VehicleOperation;
-import com.dragon.vehicle.history.common.domain.req.ReqCar;
import com.dragon.vehicle.history.server.service.LatestTrackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
diff --git a/vehicle-history-server/src/main/java/com/dragon/vehicle/history/server/service/impl/CarServiceImpl.java b/vehicle-history-server/src/main/java/com/dragon/vehicle/history/server/service/impl/CarServiceImpl.java
index 03ff908..57a6066 100644
--- a/vehicle-history-server/src/main/java/com/dragon/vehicle/history/server/service/impl/CarServiceImpl.java
+++ b/vehicle-history-server/src/main/java/com/dragon/vehicle/history/server/service/impl/CarServiceImpl.java
@@ -55,6 +55,7 @@ public class CarServiceImpl implements CarService {
.eq(reqCar.getCarTypeId() != null, CarType::getCarTypeId, reqCar.getCarTypeId())
.like(reqCar.getFenceName() != null, Fence::getFenceName, reqCar.getFenceName())
).getRecords();
+
return Result.success(resCars,"查询成功!");
}