中扬CRM客户关系管理系统
#
LSH
2023-12-01 09ee5added9d59e90310a2586e846137ea597b19
src/main/java/com/zy/crm/manager/mapper/OrderMapper.java
@@ -18,12 +18,14 @@
    Order selectOrderByNewestUuid(@Param("hostId") Long hostId);
    List<Order> listByPage(Page<Order> page, @Param("hostId")Long hostId, @Param("deptId") String deptId, @Param("userId") Long userId , @Param("condition") String condition);
    List<Order> listByPage(Page<Order> page, @Param("hostId") Long hostId, @Param("deptId") String deptId, @Param("userId") Long userId,@Param("director") Long director,  @Param("condition") String condition, @Param("status") 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<HashMap<String, Object>> selectCurrentYearMonthSuccess();//获取当前年度12个月的交易成功金额数据