package com.ssm.manage.dao;

import com.github.pagehelper.PageInfo;
import com.ssm.manage.entity.StoreMemberList;
import com.ssm.manage.entity.StoreMemberListUpdate;
import com.ssm.manage.extendEntity.StoreDaily;
import com.ssm.manage.query.MemberRequest;
import com.ssm.manage.query.StoreDailyRequest;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface SsmStoreMemberDao extends BaseDao<StoreMemberList> {
    PageInfo<StoreMemberList> selectPage(MemberRequest memberRequest);
    PageInfo<StoreMemberListUpdate> memberUpdatePage(MemberRequest memberRequest);
    PageInfo<StoreMemberList> selectPageassign(MemberRequest memberRequest);

    StoreDaily selectDayRecord(StoreDailyRequest storeDailyRequest);

    List<StoreMemberList> selectPhone( @RequestParam("phone") String phone);

    int insertBatch(List<StoreMemberList> lists);

}
