package com.hzs.member.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.account.CuMemberAccountDetail;
import com.hzs.member.account.vo.CuMemberAccountDetailLookVO;
import com.hzs.member.account.vo.CuMemberAccountDetailVO;

/**
 * 会员账户详情 服务类
 */
public interface ICuMemberAccountDetailService extends IService<CuMemberAccountDetail> {

    /**
     * 余额汇总查询
     *
     * @param memberAccountDetailVO 余额汇总详情
     * @return List<CuMemberAccountDetailVO>
     */
    Object[] findAccountDetailList(CuMemberAccountDetailVO memberAccountDetailVO);


    /**
     * 余额汇总查看查询
     *
     * @param memberAccountDetailLookVO 余额汇总查看
     * @return List<CuMemberAccountDetailLookVO>
     */
    Object[] selectAccountDetailLookList(CuMemberAccountDetailLookVO memberAccountDetailLookVO);

    /**
     * 定时插入会员账户详情信息
     *
     * @return Integer
     */
    Integer insertAccountDetail();

    /**
     * 每月月初定时删除上上个月的数据
     *
     * @return Integer
     */
    Integer deleteAccountDetailByMonth();

}
