Files
klp-oa/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java

27 lines
798 B
Java
Raw Normal View History

package com.klp.pocket.controller;
import com.klp.common.core.domain.R;
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("/api/klptcm1ProPlantStateCurrent")
public class Klptcm1ProPlantStateCurrentController {
@Resource
private IKlptcm1ProPlantStateCurrentService klptcm1ProPlantStateCurrentService;
/**
* 查询所有数据
*/
@GetMapping("/selectAll")
public R<List<Klptcm1ProPlantStateCurrent>> selectAll() {
List<Klptcm1ProPlantStateCurrent> result = klptcm1ProPlantStateCurrentService.selectAll();
return R.ok(result);
}
}