中扬CRM客户关系管理系统
#
lsh
2024-04-15 13a34d2197b001799ef8f0f09e5b48af2add0926
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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> {
 
    Order selectByUuid(Long hostId, String uuid);
 
    String getUuid(Long hostId);
 
    Page<Order> getPage(Page<Order> 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<Order> selectTopMoney();//查询交易额前7名员工
 
    List<Double> selectCurrentYearMonthSuccess();//获取当前年度12个月的交易成功金额数据
 
}