智慧农业后台管理
tangzy
2022-05-11 3cbd229ddc903cce1babdda96acbf879a3da6bee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.lang.mapper.LandMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="landResultMap" type="org.springblade.modules.lang.entity.Land">
        <result column="id" property="id"/>
        <result column="user_id" property="userId"/>
        <result column="land_name" property="landName"/>
        <result column="land_type" property="landType"/>
        <result column="land_area" property="landArea"/>
        <result column="land_range" property="landRange"/>
        <result column="type" property="type"/>
        <result column="land_unit" property="landUnit"/>
    </resultMap>
 
 
    <select id="selectLandPage" resultMap="landResultMap">
        select * from sys_land where is_deleted = 0
    </select>
 
</mapper>