From 1c9cf8c8237f739f3e62beaa637e48cc8077e934 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 04 Sep 2020 14:47:40 +0800
Subject: [PATCH] Merge branch 'whole_new' of https://gitee.com/chonggaoxiao/new_excoin into whole_new
---
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