You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.3 KiB

4 months ago
  1. package com.example.demo.service.coin;
  2. import com.example.demo.domain.entity.Rate;
  3. import java.util.Date;
  4. import java.util.List;
  5. /**
  6. * @program: GOLD
  7. * @ClassName GeneralService
  8. * @description:
  9. * @author: huangqizhen
  10. * @create: 202506-22 10:55
  11. * @Version 1.0
  12. **/
  13. public interface GeneralService {
  14. //获取所有市场(地区)
  15. List<String> getMarket();
  16. //获取所有管理员市场(地区)
  17. List<String> getALLAdminMarket();
  18. //获取平台
  19. List<String> getPlatform();
  20. //获取商品
  21. List<String> getGoods();
  22. //获取活动
  23. List<String> getActivity();
  24. //获取昨天的日期
  25. Date getYesterday();
  26. //获取某天的开始时间(00:00:00)
  27. Date getStartOfDay(Date date);
  28. //转换日期格式为yyyy-MM-dd
  29. String formatDate(Date date) ;
  30. //获取时间段内的所有日期(包含起始和结束日)
  31. List<Date> getAllDatesBetween(Date start, Date end);
  32. //获取用户的地区权限列表
  33. List<String> getAdminMarket(String account) ;
  34. //获取用户的地区权限列表(工作台图表专用)
  35. List<String> getAdminMarket1(String account) ;
  36. //获取角色的地区
  37. List<String> getRoleMarket(Integer roleId);
  38. //获取所有市场(地区)
  39. List<String> getAllRoleMarket();
  40. //获取汇率
  41. List<Rate> getRate();
  42. void fullSyncProducts();
  43. }