| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.lf.server.entity.bd.DlgAgnp; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * 地名地址 |
| | | * @author |
| | | * @author WWW |
| | | */ |
| | | @Repository |
| | | public interface DlgAgnpMapper extends BaseMapper<DlgAgnp> { |
| | | // 所有的crud都编写完成了 |
| | | /** |
| | | * 查询一条 |
| | | * |
| | | * @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); |
| | | } |