| | |
| | | import com.ruoyi.basic.dto.CoalPlanDto; |
| | | import com.ruoyi.basic.entity.CoalPlan; |
| | | import com.ruoyi.basic.service.CoalPlanService; |
| | | import com.ruoyi.basic.vo.CoalFieldVo; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 根据id查询煤质方案查询 返回 |
| | | */ |
| | | @GetMapping("/coalPlanById") |
| | | public R<List<CoalFieldVo>> coalPlanById(CoalPlanDto coalPlanDto) { |
| | | return R.ok(coalPlanService.selectCoalPlanById(coalPlanDto.getId())); |
| | | } |
| | | |
| | | /** |
| | | * 煤质方案新增修改 |
| | | */ |
| | | @PostMapping("/addOrEditCoalPlan") |