package com.xcong.excoin.modules.coin.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.xcong.excoin.modules.coin.entity.ZhiYaEntity; import org.apache.ibatis.annotations.Param; public interface ZhiYaDao extends BaseMapper { ZhiYaEntity selectByMemberId(Long memberId); Long selectSumRewardByMemberIdAndRecordIdAndType(@Param("memberId")Long memberId, @Param("recordId")Long id, @Param("type")int i); }