AdaKing88
2023-08-21 23258c585a626b15d770459870a8b24763cf540c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.tairui.app.cim.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tairui.app.cim.dao.model.ProductionUnitArea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yw
 * @since 2022-05-21
 */
@Mapper
@Repository
public interface ProductionUnitAreaMapper extends BaseMapper<ProductionUnitArea> {
 
    @Select("select gid,geom ,ST_AsText(geom) as gwkt from production_unit_area where gid=#{gid} ")
    public List<ProductionUnitArea> query(int gid);
 
}