From db6223864d9d35ee0f09835cbdb2d3c3c4e386d3 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 25 Mar 2021 14:08:23 +0800 Subject: [PATCH] 20210325 消息提醒 --- src/main/resources/mapper/documentary/FollowFollowerNoticeDao.xml | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/documentary/FollowFollowerNoticeDao.xml b/src/main/resources/mapper/documentary/FollowFollowerNoticeDao.xml index 1e5097c..793374b 100644 --- a/src/main/resources/mapper/documentary/FollowFollowerNoticeDao.xml +++ b/src/main/resources/mapper/documentary/FollowFollowerNoticeDao.xml @@ -1,5 +1,17 @@ <?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="com.xcong.excoin.modules.documentary.dao.FollowFollowerNoticeDao"> - + <select id="selectFollowFollowerNoticePage" resultType="com.xcong.excoin.modules.documentary.entity.FollowFollowerNoticeEntity"> + select + * + from follow_follower_notice + <if test="record != null"> + <where> + <if test="record.memberId != null" > + and member_id=#{record.memberId} + </if> + </where> + </if> + order by create_time desc + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1