Commit d0c37592 by 杨林龙

开发轨迹回放功能接口

1 parent 2ab3add4
...@@ -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
...@@ -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()));
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!