package com.zc.business.controller;


import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.zc.business.service.IOdsTollEtctuDataService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
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;

/**
 * 门架流水数据接口
 */
@Api(tags = {"门架流水数据接口"})
@RestController
@RequestMapping("/business/odsTollEtctuData")
public class OdsTollEtctuDataController extends BaseController {

    @Resource
    private IOdsTollEtctuDataService iOdsTollEtctuDataService;


    /**
     * 门架流水数据接口统计
     *
     * @return 查询结果
     */
    @ApiOperation("门架流水数据接口统计")
    @GetMapping("/countNumber")
    public AjaxResult odsTollEtctuDataCountNumber() {
        return AjaxResult.success(iOdsTollEtctuDataService.odsTollEtctuDataCountNumber());
    }

}