| | |
| | | package com.xcong.excoin.modules.coin.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.xcong.excoin.modules.coin.entity.OrderCoinsEntity; |
| | | import com.xcong.excoin.modules.coin.entity.ZhiYaEntity; |
| | | import com.xcong.excoin.modules.coin.entity.ZhiYaRecordEntity; |
| | | import com.xcong.excoin.modules.coin.parameter.vo.ZhiyaInfoVo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface ZhiYaRecordDao extends BaseMapper<ZhiYaRecordEntity> { |
| | | |
| | | long getOrderCountByToday(@Param("now")String now, @Param("tomorrow") String tomorrow); |
| | | |
| | | ZhiYaRecordEntity selectByMemberIdAndOrderStatus(@Param("memberId")Long memberId,@Param("orderStatus") Integer orderStatus); |
| | | |
| | | ZhiYaRecordEntity selectByIdAndMemberId(@Param("id") Long id,@Param("memberId")Long memberId); |
| | | |
| | | List<ZhiyaInfoVo> selectByMemberId(@Param("memberId")Long memberId); |
| | | |
| | | IPage<ZhiyaInfoVo> selectByMemberIdInPage(Page<ZhiyaInfoVo> page, @Param("record") ZhiYaEntity zhiya); |
| | | } |