package com.iailab.module.ansteel.api.controller.admin; import com.iailab.framework.common.pojo.CommonResult; import com.iailab.module.ansteel.api.dto.PowerNetFactorDTO; import com.iailab.module.ansteel.gas.entity.GasPredConfEntity; import com.iailab.module.ansteel.gas.service.GasPredConfService; import com.iailab.module.ansteel.power.entity.PowerNetFactorEntity; import io.swagger.v3.oas.annotations.Operation; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import java.util.List; import java.util.Map; /** * 煤气接口 * * @author DongYukun * @Description * @createTime 2025年05月07日 */ @Slf4j @RestController @RequestMapping("/ansteel/api/gas") public class GasController { @Autowired private GasPredConfService gasPredConfService; @GetMapping("/pred-conf/list") @Operation(summary = "煤气预测配置") public CommonResult> getGasPredConfList(@RequestParam Map params) { return CommonResult.success(gasPredConfService.list(params)); } }