package com.sqx.modules.consortia.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.sqx.modules.consortia.entity.Consortia;
import com.sqx.modules.coupon.entity.CouponCard;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ConsortiaDao extends BaseMapper<Consortia> {

    IPage<Consortia> selectConsortiaList(Page<Consortia> page,String consortiaName,String userName,String phone);

    int updateConsortiaUserIdIsNullByConsortId(Long consortiaId);

    Double selectConsortiaMoney(Long shopId,Integer flag,String time);

}
