从第三方获取用户优惠券
This commit is contained in:
35
src/main/java/com/rj/service/ILbUserCouponService.java
Normal file
35
src/main/java/com/rj/service/ILbUserCouponService.java
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user