|
@@ -22,7 +22,7 @@ import com.ufo.base.common.utils.poi.ExcelUtil;
|
|
|
import com.ufo.base.framework.web.page.TableDataInfo;
|
|
import com.ufo.base.framework.web.page.TableDataInfo;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * ????Controller
|
|
|
|
|
|
|
+ * 限电配置Controller
|
|
|
*
|
|
*
|
|
|
* @author ufo
|
|
* @author ufo
|
|
|
* @date 2026-07-21
|
|
* @date 2026-07-21
|
|
@@ -44,13 +44,13 @@ public class ConfigStationPowerLimitController extends BaseController
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('config:stationPowerLimit:export')")
|
|
@PreAuthorize("@ss.hasPermi('config:stationPowerLimit:export')")
|
|
|
- @Log(title = "????", businessType = BusinessType.EXPORT)
|
|
|
|
|
|
|
+ @Log(title = "限电配置", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, ConfigStationPowerLimit configStationPowerLimit)
|
|
public void export(HttpServletResponse response, ConfigStationPowerLimit configStationPowerLimit)
|
|
|
{
|
|
{
|
|
|
List<ConfigStationPowerLimit> list = configStationPowerLimitService.selectConfigStationPowerLimitList(configStationPowerLimit);
|
|
List<ConfigStationPowerLimit> list = configStationPowerLimitService.selectConfigStationPowerLimitList(configStationPowerLimit);
|
|
|
ExcelUtil<ConfigStationPowerLimit> util = new ExcelUtil<ConfigStationPowerLimit>(ConfigStationPowerLimit.class);
|
|
ExcelUtil<ConfigStationPowerLimit> util = new ExcelUtil<ConfigStationPowerLimit>(ConfigStationPowerLimit.class);
|
|
|
- util.exportExcel(response, list, "??????");
|
|
|
|
|
|
|
+ util.exportExcel(response, list, "限电配置数据"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('config:stationPowerLimit:query')")
|
|
@PreAuthorize("@ss.hasPermi('config:stationPowerLimit:query')")
|
|
@@ -61,7 +61,7 @@ public class ConfigStationPowerLimitController extends BaseController
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('config:stationPowerLimit:add')")
|
|
@PreAuthorize("@ss.hasPermi('config:stationPowerLimit:add')")
|
|
|
- @Log(title = "????", businessType = BusinessType.INSERT)
|
|
|
|
|
|
|
+ @Log(title = "限电配置", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody ConfigStationPowerLimit configStationPowerLimit)
|
|
public AjaxResult add(@RequestBody ConfigStationPowerLimit configStationPowerLimit)
|
|
|
{
|
|
{
|
|
@@ -69,7 +69,7 @@ public class ConfigStationPowerLimitController extends BaseController
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('config:stationPowerLimit:edit')")
|
|
@PreAuthorize("@ss.hasPermi('config:stationPowerLimit:edit')")
|
|
|
- @Log(title = "????", businessType = BusinessType.UPDATE)
|
|
|
|
|
|
|
+ @Log(title = "限电配置", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody ConfigStationPowerLimit configStationPowerLimit)
|
|
public AjaxResult edit(@RequestBody ConfigStationPowerLimit configStationPowerLimit)
|
|
|
{
|
|
{
|
|
@@ -77,7 +77,7 @@ public class ConfigStationPowerLimitController extends BaseController
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('config:stationPowerLimit:remove')")
|
|
@PreAuthorize("@ss.hasPermi('config:stationPowerLimit:remove')")
|
|
|
- @Log(title = "????", businessType = BusinessType.DELETE)
|
|
|
|
|
|
|
+ @Log(title = "限电配置", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
@DeleteMapping("/{ids}")
|
|
|
public AjaxResult remove(@PathVariable Long[] ids)
|
|
public AjaxResult remove(@PathVariable Long[] ids)
|
|
|
{
|
|
{
|