From d30d959c8f249c20b39e66dd0c48341a77751d21 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 21 May 2021 17:03:32 +0800 Subject: [PATCH] modify --- 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