package com.jeesharp.business.modules.food.mapper;

import com.jeesharp.business.modules.food.entity.FoodMealRule;
import com.jeesharp.business.modules.food.vo.FoodMealRuleQueryVO;
import com.jeesharp.framework.mybatis.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FoodMealRuleMapper extends BaseMapper<FoodMealRule, FoodMealRuleQueryVO> {

    int countSameRule(@Param("id") String id, @Param("serviceAreaId") String serviceAreaId,
                      @Param("mealType") String mealType, @Param("scopeType") String scopeType);
}
