修改抢单逻辑
This commit is contained in:
@@ -2,7 +2,9 @@ package com.rj.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.rj.entity.LbUserCoupon;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Map;
|
||||
|
||||
public interface ILbUserCouponService extends IService<LbUserCoupon> {
|
||||
@@ -21,8 +23,10 @@ public interface ILbUserCouponService extends IService<LbUserCoupon> {
|
||||
String userNickname,
|
||||
String parentPhone,
|
||||
String parentNickname,
|
||||
String dataType,
|
||||
String couponDateStart,
|
||||
String couponDateEnd);
|
||||
String couponDateEnd,
|
||||
BigDecimal couponAmountMin);
|
||||
|
||||
/**
|
||||
* 同步用户优惠券
|
||||
@@ -32,4 +36,41 @@ public interface ILbUserCouponService extends IService<LbUserCoupon> {
|
||||
* @return 同步结果
|
||||
*/
|
||||
Map<String, Object> syncUserCoupons(String tenantId, Integer recentDays);
|
||||
|
||||
/**
|
||||
* 按月统计用户优惠券金额
|
||||
*
|
||||
* @param tenantId 租户ID
|
||||
* @param couponDateStart 优惠日期起
|
||||
* @param couponDateEnd 优惠日期止
|
||||
* @return 统计结果
|
||||
*/
|
||||
Map<String, Object> monthlyStatistic(String tenantId, String couponDateStart, String couponDateEnd);
|
||||
|
||||
/**
|
||||
* 导出用户优惠券Excel
|
||||
*
|
||||
* @param tenantId 租户ID
|
||||
* @param userId 用户ID
|
||||
* @param userPhone 用户手机号
|
||||
* @param userNickname 用户昵称
|
||||
* @param parentPhone 用户上级手机号
|
||||
* @param parentNickname 上级昵称
|
||||
* @param dataType 数据类型
|
||||
* @param couponDateStart 优惠日期起
|
||||
* @param couponDateEnd 优惠日期止
|
||||
* @param couponAmountMin 优惠券金额最小值
|
||||
* @param response HTTP响应
|
||||
*/
|
||||
void exportExcel(String tenantId,
|
||||
String userId,
|
||||
String userPhone,
|
||||
String userNickname,
|
||||
String parentPhone,
|
||||
String parentNickname,
|
||||
String dataType,
|
||||
String couponDateStart,
|
||||
String couponDateEnd,
|
||||
BigDecimal couponAmountMin,
|
||||
HttpServletResponse response);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user