From dd48d2c05e7ba09b11a3f7ccffd43c1b65ab1a9a Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 18 Jan 2021 17:19:28 +0800 Subject: [PATCH] 20210118 --- 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