| package com.xzx.gc.order.mapper;  | 
|   | 
| import com.xzx.gc.entity.RebateRule;  | 
| import com.xzx.gc.entity.RedPaperRule;  | 
| import com.xzx.gc.model.admin.CommissionModel;  | 
| import com.xzx.gc.model.admin.XzxPlatformCapitalInfoModel;  | 
| import com.xzx.gc.model.admin.XzxUserRebateRuleModel;  | 
| import com.xzx.gc.model.admin.XzxUserRedpaperRuleModel;  | 
| import com.xzx.gc.model.query.XzxUserRedpaperRuleQuery;  | 
| import com.xzx.gc.util.GcMapper;  | 
| import org.apache.ibatis.annotations.Param;  | 
|   | 
| import java.util.List;  | 
|   | 
| public interface RedPaperRuleMapper extends GcMapper<RedPaperRule> {  | 
|   | 
|     RedPaperRule getOne(@Param("now") String now, @Param("ruleType") String ruleType, @Param("partnerId") String partnerId);  | 
|   | 
|   | 
|     List<RedPaperRule> queryByCondition(XzxUserRedpaperRuleQuery query);  | 
|   | 
|     void batchDelXzxUserRedpaperRuleByIds(@Param("ids") List<Long> ids);  | 
|   | 
|     List<XzxPlatformCapitalInfoModel> queryRebateList(XzxPlatformCapitalInfoModel model);  | 
|   | 
|     List<String> queryUserOrderIds(@Param("completeTime") String completeTime, @Param("userId") String userId);  | 
|   | 
|     String queryAfterWeightByOrderIds(@Param("orderIds") List<String> orderIds);  | 
|   | 
|     String queryTotalAmountByParam(XzxPlatformCapitalInfoModel model);  | 
|   | 
|     String queryTotalOrderMoney(@Param("orderIds") List<String> orderIds);  | 
|   | 
|     List<RedPaperRule> queryRedpaperList(String startTime);  | 
|   | 
|     List<RedPaperRule> queryRedpaperListStartAndEnd(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("partnerId") String partnerId, @Param("id") Integer id, @Param("ruleType")String ruleType);  | 
|   | 
|     List<RedPaperRule> queryShareListByTime(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("partnerId") String partnerId);  | 
|   | 
|     List<RedPaperRule> queryCommListByTime(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("id") String id);  | 
|   | 
|   | 
|     List<RebateRule> queryRebateRulePriceList(String ruleId);  | 
|   | 
|     List<RedPaperRule> queryRebateRuleList(XzxUserRebateRuleModel model);  | 
|   | 
|     List<RedPaperRule> queryWeightRuleList(XzxUserRebateRuleModel model);  | 
|   | 
|     List<CommissionModel> queryAccountList(CommissionModel model);  | 
|   | 
|     String queryTotalCommissionMoney(CommissionModel model);  | 
|   | 
|     String queryAccountListCount(CommissionModel model);  | 
|   | 
|     void deleteByRuleId(Integer ruleId);  | 
|   | 
|     List<RedPaperRule> queryRoyalRuleList(@Param("partnerId") String partnerId, @Param("packageId") String packageId);  | 
|   | 
|     List<XzxUserRedpaperRuleModel> queryRoyalty(@Param("partnerIds")List<String> partnerIds, @Param("partnerId")String partnerId);  | 
|   | 
| } |