linwe
2023-11-09 365b5ad817c9c8a2992d505aa39eccfa2be0460e
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.notice.mapper.NoticeCollectMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="noticeCollectResultMap" type="org.springblade.modules.notice.entity.NoticeCollectEntity">
        <result column="id" property="id"/>
        <result column="notice_id" property="noticeId"/>
        <result column="user_id" property="userId"/>
        <result column="create_time" property="createTime"/>
    </resultMap>
 
 
    <select id="selectNoticeCollectPage" resultMap="noticeCollectResultMap">
        select * from jczz_notice_collect where is_deleted = 0
    </select>
 
 
</mapper>