|
@@ -1,8 +1,64 @@
|
|
|
package com.ebei.screen.controller.yard;
|
|
|
|
|
|
+import com.ebei.screen.common.response.ResponseBean;
|
|
|
+import com.ebei.screen.service.YardSystemService;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
/**
|
|
|
* @author Liu.x
|
|
|
* @description 车场系统大屏
|
|
|
*/
|
|
|
+@Api(tags = "车场系统大屏")
|
|
|
+@RestController
|
|
|
+@RequestMapping("yard/system")
|
|
|
public class YardSystemController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private YardSystemService yardSystemService;
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation("车场信息数据推送")
|
|
|
+ @PostMapping("/park/parkInfo")
|
|
|
+ public ResponseBean parkInfo(@RequestBody Map params) {
|
|
|
+ return yardSystemService.parkInfo(params);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("车位信息数据推送")
|
|
|
+ @PostMapping("/park/parkSpace")
|
|
|
+ public ResponseBean parkSpace(@RequestBody Map params) {
|
|
|
+ return yardSystemService.parkSpace(params);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("入场信息数据推送")
|
|
|
+ @PostMapping("/park/parkIn")
|
|
|
+ public ResponseBean parkIn(@RequestBody Map params) {
|
|
|
+ return yardSystemService.parkIn(params);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("出场信息数据推送")
|
|
|
+ @PostMapping("/park/parkOut")
|
|
|
+ public ResponseBean parkOut(@RequestBody Map params) {
|
|
|
+ return yardSystemService.parkOut(params);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("订单信息数据推送")
|
|
|
+ @PostMapping("/park/parkOrder")
|
|
|
+ public ResponseBean parkOrder(@RequestBody Map params) {
|
|
|
+ return yardSystemService.parkOrder(params);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("收费记录数据推送")
|
|
|
+ @PostMapping("/park/parkCharge")
|
|
|
+ public ResponseBean parkCharge(@RequestBody Map params) {
|
|
|
+ return yardSystemService.parkCharge(params);
|
|
|
+ }
|
|
|
+
|
|
|
}
|