admin
2019-01-19 23f7b250c00597ad89282075460a4c27dffe1ada
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/msg/MsgMoneyDetailMapper.java
New file
@@ -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);
}