| | |
| | | @Autowired |
| | | private DisplayConfigService service; |
| | | |
| | | @ApiOperation(value = "新增或者更新电源图形显示",notes = "PowerDisplayConfigAction_power_addOrUpdate") |
| | | @ApiOperation(value = "新增或者更新电源图形显示",notes = "PowerDisplayConfigAction_power_addOrUpdate id=0新增") |
| | | @PostMapping("addOrUpdate") |
| | | public Response addOrUpdate(@RequestBody DisplayConfig config){ |
| | | return service.addOrUpdate(config); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询电源图形列表",notes = "PowerDisplayConfigAction_power_getList ") |
| | | @PostMapping("getList") |
| | | public Response getList(){ |
| | | return service.getList(); |
| | | } |
| | | } |