package com.tairui.app.cim.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.tairui.app.cim.dao.model.ProductionArea; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import org.springframework.stereotype.Repository; import java.util.List; /** *

* Mapper 接口 *

* * @author yw * @since 2022-05-21 */ @Mapper @Repository public interface ProductionAreaMapper extends BaseMapper { @Select("select * from production_area ") public List listPage(); @Select("select name from production_area ") public List listAreaName(); @Select("select gid,geom ,ST_AsText(geom) as gwkt from production_area where gid=#{gid} ") public List query(int gid); }