| | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * @author wmz |
| | | * @version v1.0 |
| | |
| | | @ApiOperation(value = "获取设备订单分页列表") |
| | | public TableDataInfo list(DeviceOrder deviceOrder) throws Exception { |
| | | startPage(); |
| | | // SysUser sysUser = getLoginUser().getUser(); |
| | | // deviceOrder.setCreateUserId(sysUser.getUserId()); |
| | | List<DeviceOrder> list = iDeviceOrderService.selectDeviceOrderList(deviceOrder); |
| | | return getDataTable(list); |
| | | } |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('iot:device:list')") |
| | | @PreAuthorize("@ss.hasPermi('iot:device:remove')") |
| | | @Log(title = "删除设备订单信息", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{deviceId}") |
| | | @ApiOperation("删除订单信息") |