从第三方获取用户优惠券

This commit is contained in:
2026-06-20 08:42:34 +08:00
parent df823119ed
commit 9e4f32a47c
10 changed files with 818 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
package com.rj.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rj.entity.LbUserCoupon;
import java.util.Map;
public interface ILbUserCouponService extends IService<LbUserCoupon> {
Map<String, Object> add(LbUserCoupon entity);
Map<String, Object> update(LbUserCoupon entity);
Map<String, Object> deleteById(String id);
Map<String, Object> pageQuery(Integer current,
Integer size,
String tenantId,
String userId,
String userPhone,
String userNickname,
String parentPhone,
String parentNickname,
String couponDateStart,
String couponDateEnd);
/**
* 同步用户优惠券
*
* @param tenantId 租户ID
* @param recentDays 最近天数
* @return 同步结果
*/
Map<String, Object> syncUserCoupons(String tenantId, Integer recentDays);
}