zhongrj
2024-02-21 2f0ae51b443f8b15d55b3f2bc9750618305403ea
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.resource.mapper.AttachDataMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="attachDataResultMap" type="org.springblade.modules.resource.entity.AttachData">
        <result column="id" property="id"/>
        <result column="create_user" property="createUser"/>
        <result column="create_time" property="createTime"/>
        <result column="name" property="name"/>
        <result column="original_name" property="originalName"/>
        <result column="extension" property="extension"/>
        <result column="size" property="size"/>
        <result column="data" property="data"/>
    </resultMap>
 
 
    <select id="selectAttachDataPage" resultMap="attachDataResultMap">
        select * from blade_attach_data where 1=1
    </select>
 
</mapper>