master
parent
547fbbbd28
commit
5b2ddb22e0
|
@ -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;
|
||||
|
||||
|
|
|
@ -65,7 +65,6 @@
|
|||
<groupId>com.dragon</groupId>
|
||||
<artifactId>dragon-common-datasource</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Dragon Common DataScope -->
|
||||
<dependency>
|
||||
<groupId>com.dragon</groupId>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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,"查询成功!");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue