|
|
|
@ -37,7 +37,7 @@ public class EmsBaseEnergyTypeController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 查询能源类型信息列表
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems.base:baseEnergyType:list')")
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/base:baseEnergyType:list')")
|
|
|
|
|
@GetMapping("/list")
|
|
|
|
|
public TableDataInfo list(EmsBaseEnergyType emsBaseEnergyType)
|
|
|
|
|
{
|
|
|
|
@ -70,7 +70,7 @@ public class EmsBaseEnergyTypeController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 导出能源类型信息列表
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems.base:baseEnergyType:export')")
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/base:baseEnergyType:export')")
|
|
|
|
|
@Log(title = "能源类型信息", businessType = BusinessType.EXPORT)
|
|
|
|
|
@PostMapping("/export")
|
|
|
|
|
public void export(HttpServletResponse response, EmsBaseEnergyType emsBaseEnergyType)
|
|
|
|
@ -83,7 +83,7 @@ public class EmsBaseEnergyTypeController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 获取能源类型信息详细信息
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems.base:baseEnergyType:query')")
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/base:baseEnergyType:query')")
|
|
|
|
|
@GetMapping(value = "/{objId}")
|
|
|
|
|
public AjaxResult getInfo(@PathVariable("objId") Long objId)
|
|
|
|
|
{
|
|
|
|
@ -93,7 +93,7 @@ public class EmsBaseEnergyTypeController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 新增能源类型信息
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems.base:baseEnergyType:add')")
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/base:baseEnergyType:add')")
|
|
|
|
|
@Log(title = "能源类型信息", businessType = BusinessType.INSERT)
|
|
|
|
|
@PostMapping
|
|
|
|
|
public AjaxResult add(@RequestBody EmsBaseEnergyType emsBaseEnergyType)
|
|
|
|
@ -104,7 +104,7 @@ public class EmsBaseEnergyTypeController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 修改能源类型信息
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems.base:baseEnergyType:edit')")
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/base:baseEnergyType:edit')")
|
|
|
|
|
@Log(title = "能源类型信息", businessType = BusinessType.UPDATE)
|
|
|
|
|
@PutMapping
|
|
|
|
|
public AjaxResult edit(@RequestBody EmsBaseEnergyType emsBaseEnergyType)
|
|
|
|
@ -115,7 +115,7 @@ public class EmsBaseEnergyTypeController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 删除能源类型信息
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems.base:baseEnergyType:remove')")
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/base:baseEnergyType:remove')")
|
|
|
|
|
@Log(title = "能源类型信息", businessType = BusinessType.DELETE)
|
|
|
|
|
@DeleteMapping("/{objIds}")
|
|
|
|
|
public AjaxResult remove(@PathVariable Long[] objIds)
|
|
|
|
|