Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
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 d0c37592
authored
May 22, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
开发轨迹回放功能接口
1 parent
2ab3add4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
src/main/java/cn/com/glsx/admin/modules/entity/VehicleDevice.java
src/test/java/cn/com/glsx/test/AdminApplicationTests.java
src/main/java/cn/com/glsx/admin/modules/entity/VehicleDevice.java
View file @
d0c3759
...
@@ -9,8 +9,8 @@ import javax.persistence.Table;
...
@@ -9,8 +9,8 @@ import javax.persistence.Table;
/**
/**
* 车辆设备绑定关系
* 车辆设备绑定关系
*/
*/
@Data
@Table
(
name
=
"t_vehicle_device"
)
@Table
(
name
=
"t_vehicle_device"
)
@Data
public
class
VehicleDevice
extends
BaseEntity
{
public
class
VehicleDevice
extends
BaseEntity
{
/**
/**
* 车辆id
* 车辆id
...
@@ -28,6 +28,4 @@ public class VehicleDevice extends BaseEntity {
...
@@ -28,6 +28,4 @@ public class VehicleDevice extends BaseEntity {
*/
*/
@Column
(
name
=
"bind_status"
)
@Column
(
name
=
"bind_status"
)
private
Integer
bindStatus
;
private
Integer
bindStatus
;
}
}
\ No newline at end of file
\ No newline at end of file
src/test/java/cn/com/glsx/test/AdminApplicationTests.java
View file @
d0c3759
...
@@ -32,6 +32,7 @@ public class AdminApplicationTests {
...
@@ -32,6 +32,7 @@ public class AdminApplicationTests {
@Autowired
@Autowired
private
ElectricFenceService
electricFenceService
;
private
ElectricFenceService
electricFenceService
;
@Autowired
@Autowired
private
UserService
userService
;
private
UserService
userService
;
...
@@ -110,7 +111,7 @@ public class AdminApplicationTests {
...
@@ -110,7 +111,7 @@ public class AdminApplicationTests {
@Test
@Test
public
void
testUser
()
{
public
void
testUser
()
{
R
<
List
<
User
>>
r
=
userService
.
findByUser
(
new
FindUserRequest
().
setUsername
(
"广州恒福店"
));
R
r
=
userService
.
findByUser
(
new
FindUserRequest
().
setUsername
(
"广州恒福店"
));
System
.
out
.
println
(
JSON
.
toJSONString
(
r
.
getData
()));
System
.
out
.
println
(
JSON
.
toJSONString
(
r
.
getData
()));
}
}
...
...
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