guoshilong
2023-11-13 68f80a7451a126335153ec00bb6cb520a5ae1f8d
src/main/java/com/dji/sample/manage/service/IWorkspaceService.java
@@ -1,6 +1,8 @@
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 org.springframework.messaging.MessageHeaders;
@@ -8,6 +10,14 @@
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,8 +35,6 @@
    /**
     * 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);