zhongrj
2023-11-09 37d86ade1dccde5abfe62996ed0cec157435ebfa
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.NoticeLikeMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="noticeLikeResultMap" type="org.springblade.modules.notice.entity.NoticeLikeEntity">
        <result column="id" property="id"/>
        <result column="notice_id" property="noticeId"/>
        <result column="notice_user_id" property="noticeUserId"/>
        <result column="create_time" property="createTime"/>
    </resultMap>
 
 
    <select id="selectNoticeLikePage" resultMap="noticeLikeResultMap">
        select * from jczz_notice_like where is_deleted = 0
    </select>
 
 
</mapper>