Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 405b18ca
authored
Mar 29, 2022
by
王欣伟
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交车辆标准接口服务
1 parent
b3478799
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
0 deletions
src/main/java/cn/com/glsx/stdinterface/api/VehicleServiceClient.java
src/main/java/cn/com/glsx/stdinterface/dto/VehicleDto.java
src/main/java/cn/com/glsx/stdinterface/api/VehicleServiceClient.java
0 → 100644
View file @
405b18c
package
cn
.
com
.
glsx
.
stdinterface
.
api
;
import
cn.com.glsx.stdinterface.dto.*
;
import
cn.com.glsx.stdinterface.factory.StatisticsInStoreFallbackFactory
;
import
com.glsx.plat.core.web.R
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
java.util.List
;
@FeignClient
(
name
=
"ne-shield-standard-interfaces"
,
path
=
"/nesi/vehicle"
,
fallbackFactory
=
StatisticsInStoreFallbackFactory
.
class
,
decode404
=
true
)
public
interface
VehicleServiceClient
{
/**
* 安装工单
*
* @param workOrderBO
* @return
*/
@PostMapping
(
value
=
"/create"
)
public
R
<
VehicleDto
>
getVehicleBySn
(
@RequestBody
String
sn
);
}
src/main/java/cn/com/glsx/stdinterface/dto/VehicleDto.java
0 → 100644
View file @
405b18c
package
cn
.
com
.
glsx
.
stdinterface
.
dto
;
import
lombok.Data
;
import
java.util.Date
;
@Data
public
class
VehicleDto
{
/**
* 主键ID
*/
private
Long
id
;
/**
* 车架号
*/
private
String
vin
;
/**
* 创建人
*/
private
Long
createBy
;
/**
* 创建时间
*/
private
String
createDate
;
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment