管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-10-27 d99ebb10d0a6d9fc4989ba573c725d153d2165d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.lf.server.mapper.all;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
 
/**
 * 空间基础Mapper
 * @author WWW
 * @param <T>
 */
public interface GeomBaseMapper<T> extends BaseMapper<T> {
    /**
     * 根据ID查询WKT
     *
     * @param gid
     * @return
     */
    @Select("select st_astext(geom) geom from bd.dlg_agnp where gid = #{gid}")
    public String selectWktById(@Param("gid") Integer gid);
}