package com.cyl.manager.ums.service;

import com.cyl.h5.controller.req.MemberPointHistoryReq;
import com.cyl.manager.ums.domain.MemberPointHistory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;

import java.util.List;

/**
 * 积分集点明细Service接口
 * 
 * @author daixiande
 */
public interface MemberPointHistoryService {
    /**
     * 查询积分集点明细
     * 
     * @param id 积分集点明细主键
     * @return 积分集点明细
     */
    ResponseEntity<MemberPointHistory>  selectMemberPointHistoryById(Integer id);


    /**
     * 查询积分集点明细列表
     * @param openId
     * @param type
     * @param page
     * @return
     */
    List<MemberPointHistory> selectMemberPointHistoryList(Long memberId,String type, Pageable page);

    /**
     * 新增积分集点明细
     * 
     * @param memberPointHistory 积分集点明细
     * @return 结果
     */
    ResponseEntity<Integer> insertMemberPointHistory(MemberPointHistory memberPointHistory);

}
