package com.railway.business.bi.controller; import com.railway.business.bi.domain.ShowTestPlanDt; import com.railway.business.bi.domain.vo.TestPlanDtQuery; import com.railway.business.bi.service.IShowTestPlanDtService; import com.railway.common.core.controller.BaseController; import com.railway.common.core.page.TableDataInfo; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import java.util.List; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * @author zhaomn */ @Api(value = "rest/bi", tags = "大屏展示-试验计划兑现情况-单体") @RestController @Validated @RequestMapping(value = "show/syjhdx/dt") public class ShowTestPlanDtController extends BaseController { private final IShowTestPlanDtService showTestPlanDtService; public ShowTestPlanDtController(IShowTestPlanDtService showTestPlanDtService) { this.showTestPlanDtService = showTestPlanDtService; } @ApiOperation(value = "列表") @GetMapping(value = "/list") public TableDataInfo getList(TestPlanDtQuery query) { startPage(); List list = showTestPlanDtService.getList(query); return getDataTable(list); } }