//package com.yuchen.sass.park.service.controller.test;
//
//import com.thinkunion.smart.park.core.service.component.pull.input.DeviceConnectInput;
//import com.thinkunion.smart.park.core.service.parking.service.VehicleMonthlyCardDataService;
//import com.thinkunion.smart.park.core.service.parking.service.manage.ParkingService;
//import lombok.AllArgsConstructor;
//import org.nest.springwrap.core.tool.api.R;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//
///**
// * @Author: 周光耀
// * @Date: 2021/9/15 17:09
// * @Description: 测试接口
// */
//@RestController
//@AllArgsConstructor
//@RequestMapping("/test")
//public class TestParkController {
//
//    /**
//     * 注入设备连接事件处理器
//     */
//    @Resource
//    private DeviceConnectInput deviceConnectInput;
//
//    /**
//     * 注入设备连接事件处理器
//     */
//    @Resource
//    private ParkingService parkingService;
//
//    /**
//     * 注入车辆包期操作接口
//     */
//    @Resource
//    private VehicleMonthlyCardDataService vehicleMonthlyCardDataService;
//
//    @GetMapping(value = "/clearAlarmDevice")
//    public R clearAlarmDevice(){
//        deviceConnectInput.clearAlarmDevice();
//        return R.data("操作成功");
//    }
//
//    @GetMapping(value = "/clearParkingIncome")
//    public R clearParkingIncome(){
//        parkingService.clearParkingCache();
//        return R.data("操作成功");
//    }
//
//    @GetMapping(value = "/updateByReviewState")
//    public R updateByReviewState(){
//        vehicleMonthlyCardDataService.updateByReviewState();
//        return R.data("操作成功");
//    }
//}
