linwe
2023-12-01 5d5cd3ad979a0b85ab8c7034dcad1663fdcf71be
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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.article.mapper.ArticleCollectMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="articleCollectResultMap" type="org.springblade.modules.article.entity.ArticleCollectEntity">
        <result column="id" property="id"/>
        <result column="article_id" property="articleId"/>
        <result column="user_id" property="userId"/>
        <result column="create_time" property="createTime"/>
    </resultMap>
 
 
    <select id="selectArticleCollectPage" resultMap="articleCollectResultMap">
        select * from jczz_article_collect where is_deleted = 0
    </select>
 
 
</mapper>