管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-10-19 73e8f38ca1c41290d129dddbce3cb7136c7b4c89
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.lf.server.mapper.bd;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lf.server.entity.bd.DlgAgnp;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
 
/**
 * 地名地址
 * @author WWW
 */
@Repository
public interface DlgAgnpMapper extends BaseMapper<DlgAgnp> {
    /**
     * 查询一条
     *
     * @param gid
     * @return
     */
    @Select("select gid,gb,name,st_astext(geom) geom from bd.dlg_agnp where gid = #{gid}")
    DlgAgnp selectOne(@Param("gid") Integer gid);
}