From 23f7b250c00597ad89282075460a4c27dffe1ada Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 19 一月 2019 17:39:06 +0800 Subject: [PATCH] Merge branch 'dev-msg' --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/msg/MsgMoneyDetailMapper.java | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/msg/MsgMoneyDetailMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/msg/MsgMoneyDetailMapper.java new file mode 100644 index 0000000..a77cb69 --- /dev/null +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/msg/MsgMoneyDetailMapper.java @@ -0,0 +1,26 @@ +package com.yeshi.fanli.dao.mybatis.msg; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; + +import com.yeshi.fanli.dao.BaseMapper; +import com.yeshi.fanli.entity.bus.msg.MsgMoneyDetail; +import com.yeshi.fanli.entity.bus.msg.MsgMoneyDetail.MsgTypeMoneyTypeEnum; + +public interface MsgMoneyDetailMapper extends BaseMapper<MsgMoneyDetail> { + + MsgMoneyDetail selectBySourceIdAndMsgType(@Param("sourceId") Long sourceId, + @Param("type") MsgTypeMoneyTypeEnum type); + + List<MsgMoneyDetail> listByUid(@Param("uid") Long uid, @Param("start") long start, @Param("count") int count); + + Long countByUid(@Param("uid") Long uid); + + /** + * 璁剧疆娑堟伅宸茶鏃� + * + * @param uid + */ + void setMsgReadByUid(Long uid); +} \ No newline at end of file -- Gitblit v1.8.0