Smart parking lot management system based on java SpringBoot framework and Vue

        In recent years, not only has China's comprehensive national strength been greatly improved, but its national economy has also grown rapidly, which has promoted the development of China's automobile industry. The rapid development of technology has gradually reduced the manufacturing cost of cars, and they are becoming more and more popular. Today, most families can afford to buy a car, so the number of cars in Chinese cities is increasing every year. Now China has become the world's second largest car consumer.

        With the substantial increase in the number of private cars in China, it is difficult for car owners to find a parking space due to the problem of too few parking spaces in shopping malls, restaurants and tourist attractions in most cities. About half of the 5,000 car owners surveyed believe parking is a problem, according to the latest data report released by the new networked parking system. More than half of the car owners often cannot find a suitable parking space. In today's fast-paced society, it is a waste of time. The parking system is an important part of the city's intelligent traffic management system, so tools that help owners solve this series of problems are needed. Managers should choose and apply economical and stable management procedures, and avoid choosing costly management systems. This paper designs a simple, stable and practical intelligent parking lot management system. It has its own characteristics in terms of fault tolerance, practicability, and ease of operation. It is hoped to maintain a certain degree of scalability to meet the information management needs of different parking garages.

 

The main function:

User login: users can log in to the website with the correct account number and password;

License plate recognition: When the vehicle enters and exits the parking lot, it can use the camera or picture to identify the license plate number, and enter and exit the parking lot after registering the information;

Parking lot management: manage the parking lot, add, delete, modify and check the parking lot information, and configure payment rules;

Parking lot member management: users who complete long-term payment offline become VIP or monthly car, and do not need to pay again every time they enter and exit the parking lot;

Parking record management: The information and charges of vehicles entering and exiting the parking lot in the near future will be generated into orders;

Order revenue management: all vehicle order information is displayed.

Account management: management of system users and cooperative units, adding, deleting, modifying and checking relevant information.

System management: including role management and system menu management.

 

Main technique:

Backend: JAVA language, SpringBoot framework, MySQL database, Maven dependency management, etc.;

Front-end: layUI framework, HTML pages, Vue syntax and other technologies.

 Part of the code shows:

public class CarManageController {

    @Autowired
    private CarManageService carManageService;
    @Autowired
    private CarManageRepository carManageRepository;

    /**
     * 列表
     */
    @PostMapping("list")
    @RequiresRoles(value={"admin","orgAdmin"},logical = Logical.OR)
    public Result list(CarManage entity){
        return carManageService.list(entity);
    }

    /**
     * 获取
     */
    @PostMapping("get")
    @RequiresRoles(value={"admin","orgAdmin"},logical = Logical.OR)
    public Result get(Long id){
        CarManage entity =
                carManageRepository.findById(id).orElse(new CarManage());
        return Result.ok(entity);
    }

    /**
     * 保存
     */
    @PostMapping("save")
    @RequiresRoles(value={"admin","orgAdmin"},logical = Logical.OR)
    public Result save(@RequestBody CarManage entity){
        return carManageService.save(entity);
    }

    /**
     * 删除
     */
    @PostMapping("delete")
    @RequiresRoles(value={"admin","orgAdmin"},logical = Logical.OR)
    public Result delete(Long id){
        carManageRepository.deleteById(id);
        return Result.ok();
    }

    /**
     * 续租
     */
    @PostMapping("renew")
    @RequiresRoles(value={"admin","orgAdmin"},logical = Logical.OR)
    public Result renew(@RequestBody Order entity){
        return carManageService.renew(entity);
    }


    /**
     * 导出
     */
    @PostMapping("export")
    @RequiresRoles(value={"admin","orgAdmin"},logical = Logical.OR)
    public void export(Long orgId,Long parkManageId,HttpServletRequest request, HttpServletResponse response){
        try{
            ExcelExport excelExport = carManageService.exportData(orgId,parkManageId);
            SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
            excelExport.writeTemplate(response, request,
                    "车辆信息-" + sdf.format(new Date()) + ".xls");
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}

Intelligent parking lot management system based on JAVA SpringBoot and Vue

Guess you like

Origin blog.csdn.net/qq_28245905/article/details/131080787