From 817761e47af7ea7bae164d3aa47337a7442f1c14 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期一, 13 四月 2020 09:40:58 +0800
Subject: [PATCH] 消息调整

---
 fanli/src/main/java/com/yeshi/fanli/mapping/msg/MsgExtraMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/msg/MsgExtraMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/msg/MsgExtraMapper.xml
index 463de9d..36dd1fb 100644
--- a/fanli/src/main/java/com/yeshi/fanli/mapping/msg/MsgExtraMapper.xml
+++ b/fanli/src/main/java/com/yeshi/fanli/mapping/msg/MsgExtraMapper.xml
@@ -40,4 +40,11 @@
       <if test="createTime != null">mea_create_time=#{createTime,jdbcType=TIMESTAMP},</if>
     </set> where mea_id = #{id,jdbcType=BIGINT}
   </update>
+  
+  <select id="getByRidAndType" resultMap="BaseResultMap">
+  	SELECT * FROM yeshi_ec_msg_extra d
+	WHERE d.`mea_rid` = #{rid}  AND d.`mea_type` = #{type}
+	LIMIT 1
+  </select>
+  
 </mapper>

--
Gitblit v1.8.0