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);
|
}
|