evo-Financial-pc/evo-admin/src/main/java/com/evo/restaurant/mapper/RzRestaurantStatisticsMapper.java
2025-05-04 11:02:42 +08:00

59 lines
1.5 KiB
Java

package com.evo.restaurant.mapper;
import com.evo.restaurant.domain.RzRestaurantStatistics;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
* 餐饮统计Mapper接口
*
* @author chenyj
* @date 2024-11-18
*/
public interface RzRestaurantStatisticsMapper
{
/**
* 查询餐饮统计
*
* @param id 餐饮统计主键
* @return 餐饮统计
*/
public RzRestaurantStatistics selectRzRestaurantStatisticsById(Long id);
/**
* 查询餐饮统计列表
*
* @param rzRestaurantStatistics 餐饮统计
* @return 餐饮统计集合
*/
public List<RzRestaurantStatistics> selectRzRestaurantStatisticsList(RzRestaurantStatistics rzRestaurantStatistics);
/**
* 新增餐饮统计
*
* @param rzRestaurantStatistics 餐饮统计
* @return 结果
*/
public int insertRzRestaurantStatistics(RzRestaurantStatistics rzRestaurantStatistics);
/**
* 修改餐饮统计
*
* @param rzRestaurantStatistics 餐饮统计
* @return 结果
*/
public int updateRzRestaurantStatistics(RzRestaurantStatistics rzRestaurantStatistics);
/**
* 根据员工ID和时间查询统计信息
* @param staffId
* @param date
* @return
*/
public RzRestaurantStatistics selectRzRestaurantStatisticsByUserIdAndDate(@Param("staffId") Long staffId,@Param("date") Date date);
public List<RzRestaurantStatistics> selectRzRestaurantStatisticsByDate(Date date);
}