xieb
2023-11-22 e192e2f080774b0dbb7c0f03f4c6895e6923b373
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.dji.sample.map.service;
 
import com.dji.sample.map.model.dto.ElementCoordinateDTO;
 
import java.util.List;
 
/**
 * @author sean
 * @version 0.2
 * @date 2021/11/29
 */
public interface IElementCoordinateService {
 
    /**
     * Query all the coordinates of the element according to its id.
     * @param elementId
     * @return
     */
    List<ElementCoordinateDTO> getCoordinateByElementId(String elementId);
 
    /**
     * Save all the coordinate data of this element.
     * @param coordinate
     * @param elementId
     * @return
     */
    Boolean saveCoordinate(List<ElementCoordinateDTO> coordinate, String elementId);
 
    /**
     * Delete all the coordinates of the element according to its id.
     * @param elementId
     * @return
     */
    Boolean deleteCoordinateByElementId(String elementId);
}