package com.klp.pocket.controller; import com.klp.common.core.controller.BaseController; import com.klp.common.core.domain.PageQuery; import com.klp.common.core.domain.R; import com.klp.common.core.page.TableDataInfo; import com.klp.pocket.domain.Klptcm1ProPlantStateCurrent; import com.klp.pocket.service.IKlptcm1ProPlantStateCurrentService; import org.springframework.web.bind.annotation.*; import javax.annotation.Resource; import java.util.List; @RestController @RequestMapping("/pocket/proPlantStateCurrent") public class Klptcm1ProPlantStateCurrentController extends BaseController { @Resource private IKlptcm1ProPlantStateCurrentService klptcm1ProPlantStateCurrentService; /** * 查询所有数据 */ @GetMapping("/selectAll") public TableDataInfo selectAll(PageQuery pageQuery) { return klptcm1ProPlantStateCurrentService.selectAll(pageQuery); } }