package com.taoke.autopay.service; import com.taoke.autopay.entity.OrderChannelEnum; import com.taoke.autopay.entity.OrderCountTypeEnum; import com.taoke.autopay.entity.WxUserOrderCount; import com.taoke.autopay.exception.WxOrderCountException; /** * @author hxh * @title: WxUserOrderCountService * @description: 订单次数服务 * @date 2024/6/28 19:17 */ public interface WxUserOrderCountService { public void addOrderCount(Long uid, OrderCountTypeEnum orderType,OrderChannelEnum orderChannel, String day, int count, Integer maxCount) throws WxOrderCountException; public void isOrderCountLimit(Long uid, OrderCountTypeEnum orderType, OrderChannelEnum orderChannel, String day, int count, Integer maxCount) throws WxOrderCountException; public WxUserOrderCount get(Long uid, OrderCountTypeEnum orderType,OrderChannelEnum orderChannel, String day); public long sum(Long uid, OrderCountTypeEnum orderType,OrderChannelEnum orderChannel,String day); }