package com.cyksj.mapper.mirrorshop;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyksj.model.entity.UserMirrorShop;
import com.cyksj.model.views.UserMirrorShopOrderDataStatisticsView;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

/**
 * 项目名: yhlxj2
 * 文件名: UserMirrorShop
 * 创建者: JavaZou
 * 创建时间:2024/10/18 11:58
 */
public interface UserMirrorShopMapper extends BaseMapper<UserMirrorShop> {
	String selectSoldMaxGoods(Long userId);

	Map<String, Object> selectUserMIrrorShopDetail(@Param("startDate") Date startDate, @Param("endDate") Date endDate);

	BigDecimal selectUserMirrorShopTakeMoney(@Param("startDate") Date startDate, @Param("endDate") Date endDate);

	Map<String, Object> selectUserMirrorShopApplyMoney(@Param("startDate") Date startDate, @Param("endDate") Date endDate);

	UserMirrorShopOrderDataStatisticsView selectOrderBrokenLineMoney(@Param("mpId") long mpId, @Param("first") String first, @Param("end") String end);
}
