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.
|
|
package com.example.demo.service;
import java.time.LocalDateTime; import java.time.LocalTime; import java.time.ZoneId; import java.util.Date; import java.util.List;
/** * @program: GOLD * @ClassName GeneralService * @description: * @author: huangqizhen * @create: 2025−06-22 10:55 * @Version 1.0 **/
public interface GeneralService { //获取所有市场(地区)
List<String> getMarket(); //获取所有管理员市场(地区)
List<String> getALLAdminMarket(); //获取平台
List<String> getPlatform(); //获取商品
List<String> getGoods(); //获取活动
List<String> getActivity(); //获取昨天的日期
Date getYesterday(); //获取某天的开始时间(00:00:00)
Date getStartOfDay(Date date); //转换日期格式为yyyy-MM-dd
String formatDate(Date date) ; //获取时间段内的所有日期(包含起始和结束日)
List<Date> getAllDatesBetween(Date start, Date end); //获取用户的地区权限列表
List<String> getAdminMarket(String account) ; //获取用户的地区权限列表(工作台图表专用)
List<String> getAdminMarket1(String account) ; //获取角色的地区
List<String> getRoleMarket(Integer roleId); //获取所有市场(地区)
List<String> getAllRoleMarket(); }
|