From 39ffdf5754b4ebca682bd3c925f7a500e8a1bbda Mon Sep 17 00:00:00 2001
From: aix <vip_xiaobin810@163.com>
Date: Thu, 08 Aug 2024 16:56:36 +0800
Subject: [PATCH] 国土调查云身份凭证token
---
src/main/java/com/dji/sample/manage/service/IWorkspaceService.java | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/dji/sample/manage/service/IWorkspaceService.java b/src/main/java/com/dji/sample/manage/service/IWorkspaceService.java
index 2d80777..00948e0 100644
--- a/src/main/java/com/dji/sample/manage/service/IWorkspaceService.java
+++ b/src/main/java/com/dji/sample/manage/service/IWorkspaceService.java
@@ -1,13 +1,24 @@
package com.dji.sample.manage.service;
+import com.dji.sample.common.model.PaginationData;
+import com.dji.sample.common.model.ResponseResult;
import com.dji.sample.component.mqtt.model.CommonTopicReceiver;
import com.dji.sample.manage.model.dto.WorkspaceDTO;
+import com.dji.sample.manage.model.entity.WorkspaceEntity;
import org.springframework.messaging.MessageHeaders;
import java.util.Optional;
public interface IWorkspaceService {
+
+ PaginationData<WorkspaceDTO> selectWorkspace(long page, long pageSize);
+
+ Boolean createWorkspace(WorkspaceDTO dto);
+
+ Boolean deleteWorkspaceById(Integer id);
+
+ Boolean updateWorkspaceById(WorkspaceDTO dto);
/**
* Query the information of a workspace based on its workspace id.
@@ -25,9 +36,9 @@
/**
* Handle the request for obtaining the organization information corresponding to the device binding.
- * Note: If your business does not need to bind the dock to the organization,
- * you can directly reply to the successful message without implementing business logic.
* @param receiver
*/
void replyOrganizationGet(CommonTopicReceiver receiver, MessageHeaders headers);
+
+ WorkspaceEntity getWorkspaceById(int id);
}
--
Gitblit v1.9.3