| | |
| | | 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; |
| | |
| | | * @date 2024/6/28 19:17 |
| | | */ |
| | | public interface WxUserOrderCountService { |
| | | public void addOrderCount(Long uid, OrderCountTypeEnum orderType, String day, int count, Integer maxCount) throws WxOrderCountException; |
| | | public void addOrderCount(Long uid, OrderCountTypeEnum orderType,OrderChannelEnum orderChannel, String day, int count, Integer maxCount) throws WxOrderCountException; |
| | | |
| | | public WxUserOrderCount get(Long uid, OrderCountTypeEnum orderType, String day); |
| | | 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); |
| | | } |