tangzy
2022-01-19 0797cf409bd7e21c810caf571241fa57445ea9c4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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.hd.mapper.HdMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="hdResultMap" type="org.springblade.modules.hd.entity.Hd">
        <id column="id" property="id"/>
        <result column="hdname" property="hdname"/>
        <result column="address" property="address"/>
        <result column="time" property="time"/>
        <result column="tpurl" property="tpurl"/>
        <result column="context" property="context"/>
        <result column="lx" property="lx"/>
    </resultMap>
 
 
    <select id="selectHdPage" resultMap="hdResultMap">
        select * from sys_hd where is_deleted = 0
    </select>
 
</mapper>