无人机项目后端代码
sean.zhou
2022-03-21 17835b967b48f2676cce3bbed081c6580602ee1c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.dji.sample.manage.service;
 
 
import com.dji.sample.manage.model.dto.WorkspaceDTO;
 
import java.util.Optional;
 
public interface IWorkspaceService {
 
    /**
     * Query the workspace information based on the primary key id of the database.
     * @param id primary key id
     * @return
     */
    Optional<WorkspaceDTO> getWorkspaceById(int id);
 
    /**
     * Query the information of a workspace based on its workspace id.
     * @param workspaceId
     * @return
     */
    Optional<WorkspaceDTO> getWorkspaceByWorkspaceId(String workspaceId);
}