package com.zy.crm.manager.service; import com.baomidou.mybatisplus.plugins.Page; import com.baomidou.mybatisplus.service.IService; import com.zy.crm.manager.entity.Order; import java.util.HashMap; import java.util.List; import java.util.Map; public interface OrderService extends IService { Order selectByUuid(Long hostId, String uuid); String getUuid(Long hostId); Page getPage(Page page, Long hostId, String deptId, Long userId,Long director, String condition, Integer status); Double selectMoneyByYearAndStatus(String year, Integer status);//获取指定年份和订单状态总交易金额 Double selectMoneyByUserAndYearAndStatus(Long userId, String year, Integer status);//获取指定用户、年份和订单状态总交易金额 Integer selectCountByUserYearAndStatus(Long userId, String year, Integer status);//获取指定年份和订单状态总数量 List selectTopMoney();//查询交易额前7名员工 List selectCurrentYearMonthSuccess();//获取当前年度12个月的交易成功金额数据 }