package com.elephant.framework.galaxy.aroad.module.zhjc.controller;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.elephant.framework.galaxy.aroad.response.R;
import com.elephant.framework.galaxy.aroad.module.zhjc.entity.ZhjcPtgsdLwzs;
import com.elephant.framework.galaxy.aroad.module.zhjc.service.ZhjcPtgsdLwzsService;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.*;
import com.elephant.framework.galaxy.aroad.module.common.controller.BaseController;


/**
 * 普通国道路线平均行程车速
 *
 * @author zyw
 * @date 2019-05-06 14:29:11
 */
@RestController
@AllArgsConstructor
@RequestMapping("/zhjc/lwzs")
public class ZhjcPtgsdLwzsController extends BaseController  {

  private final ZhjcPtgsdLwzsService zhjcPtgsdLwzsService;

  /**
   * 查询路网指数数据
   * @param page
   * @param lwjcPtgdlxpjxscs
   * @return
   */
  @GetMapping("/list")
  public R getLwzsList(Page page, ZhjcPtgsdLwzs lwjcPtgdlxpjxscs) {



    return  new R<>(zhjcPtgsdLwzsService.selectLwzs(lwjcPtgdlxpjxscs));
  }


}
