2025-10-27 15:07:54 +08:00
|
|
|
package com.klp.pocket.controller;
|
|
|
|
|
|
|
|
|
|
import com.klp.common.core.domain.R;
|
2025-10-27 17:23:52 +08:00
|
|
|
import com.klp.pocket.domain.Klptcm1ProPlantStateCurrent;
|
2025-10-27 15:07:54 +08:00
|
|
|
import com.klp.pocket.service.IKlptcm1ProPlantStateCurrentService;
|
2025-10-27 17:23:52 +08:00
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import java.util.List;
|
2025-10-27 15:07:54 +08:00
|
|
|
|
|
|
|
|
@RestController
|
2025-10-27 17:23:52 +08:00
|
|
|
@RequestMapping("/api/klptcm1ProPlantStateCurrent")
|
|
|
|
|
public class Klptcm1ProPlantStateCurrentController {
|
2025-10-27 15:07:54 +08:00
|
|
|
|
2025-10-27 17:23:52 +08:00
|
|
|
@Resource
|
|
|
|
|
private IKlptcm1ProPlantStateCurrentService klptcm1ProPlantStateCurrentService;
|
2025-10-27 15:07:54 +08:00
|
|
|
|
|
|
|
|
/**
|
2025-10-27 17:23:52 +08:00
|
|
|
* 查询所有数据
|
2025-10-27 15:07:54 +08:00
|
|
|
*/
|
2025-10-27 17:23:52 +08:00
|
|
|
@GetMapping("/selectAll")
|
|
|
|
|
public R<List<Klptcm1ProPlantStateCurrent>> selectAll() {
|
|
|
|
|
List<Klptcm1ProPlantStateCurrent> result = klptcm1ProPlantStateCurrentService.selectAll();
|
|
|
|
|
return R.ok(result);
|
2025-10-27 15:07:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|