|
|
|
@ -37,7 +37,6 @@ public class RecordIotenvInstantController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 查询物联网数据列表
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:list')")
|
|
|
|
|
@GetMapping("/list")
|
|
|
|
|
public TableDataInfo list (RecordIotenvInstant recordIotenvInstant)throws ParseException
|
|
|
|
|
{
|
|
|
|
@ -51,7 +50,6 @@ public class RecordIotenvInstantController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 导出物联网数据列表
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:export')")
|
|
|
|
|
@Log(title = "物联网数据", businessType = BusinessType.EXPORT)
|
|
|
|
|
@PostMapping("/export")
|
|
|
|
|
public void export(HttpServletResponse response, RecordIotenvInstant recordIotenvInstant)throws ParseException
|
|
|
|
@ -64,7 +62,6 @@ public class RecordIotenvInstantController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 获取物联网数据详细信息
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:query')")
|
|
|
|
|
@GetMapping(value = "/{objid}")
|
|
|
|
|
public AjaxResult getInfo(@PathVariable("objid") Long objid)
|
|
|
|
|
{
|
|
|
|
@ -74,7 +71,6 @@ public class RecordIotenvInstantController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 新增物联网数据
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:add')")
|
|
|
|
|
@Log(title = "物联网数据", businessType = BusinessType.INSERT)
|
|
|
|
|
@PostMapping
|
|
|
|
|
public AjaxResult add(@RequestBody RecordIotenvInstant recordIotenvInstant)
|
|
|
|
@ -86,7 +82,6 @@ public class RecordIotenvInstantController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 修改物联网数据
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:edit')")
|
|
|
|
|
@Log(title = "物联网数据", businessType = BusinessType.UPDATE)
|
|
|
|
|
@PutMapping
|
|
|
|
|
public AjaxResult edit(@RequestBody RecordIotenvInstant recordIotenvInstant)
|
|
|
|
@ -98,7 +93,6 @@ public class RecordIotenvInstantController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 删除物联网数据
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:remove')")
|
|
|
|
|
@Log(title = "物联网数据", businessType = BusinessType.DELETE)
|
|
|
|
|
@DeleteMapping("/{objids}")
|
|
|
|
|
public AjaxResult remove(@PathVariable Long[] objids)
|
|
|
|
@ -106,7 +100,6 @@ public class RecordIotenvInstantController extends BaseController
|
|
|
|
|
return toAjax(recordIotenvInstantService.deleteRecordIotenvInstantByObjids(objids));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:list')")
|
|
|
|
|
@GetMapping("/getRecordIotenvInstantList")
|
|
|
|
|
public AjaxResult getRecordIotenvInstantList (RecordIotenvInstant recordIotenvInstant)throws ParseException
|
|
|
|
|
{
|
|
|
|
|