lius
2023-09-18 b5987ef848f226bec0a109571a44de98f2f79535
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcDriveTypeParamConfigController.java
@@ -11,6 +11,7 @@
import org.jeecg.common.aspect.annotation.AutoLog;
import org.jeecg.common.system.base.controller.JeecgController;
import org.jeecg.common.system.query.QueryGenerator;
import org.jeecg.modules.mdc.dto.OptionsDto;
import org.jeecg.modules.mdc.entity.MdcDriveTypeParamConfig;
import org.jeecg.modules.mdc.service.IMdcDriveTypeParamConfigService;
import org.springframework.web.bind.annotation.*;
@@ -160,4 +161,12 @@
        return Result.OK(list);
    }
    @AutoLog(value = "驱动参数配置-获取控制系统类型下拉框选项")
    @ApiOperation(value = "驱动参数配置-获取控制系统类型下拉框选项", notes = "驱动参数配置-获取控制系统类型下拉框选项")
    @GetMapping(value = "/getDriveParamOptions")
    public Result<List<OptionsDto>> getDriveParamOptions() {
        List<OptionsDto> result = mdcDriveTypeParamConfigService.getDriveParamOptions();
        return Result.OK(result);
    }
}