对接3方系统,开通新人特权

This commit is contained in:
2026-05-16 15:40:04 +08:00
parent d66daf375c
commit 3e753ba8b2
5 changed files with 191 additions and 21 deletions

View File

@@ -26,6 +26,13 @@ public interface ILbPurchaseApplyService extends IService<LbPurchaseApply> {
Map<String, Object> listNeedPrivilegeRecommenders(LocalDate startDate, LocalDate endDate);
/**
* 按申请日期区间与租户筛选进货申请,对不重复的 {@code apply_phone} 调用 hxrd 用户查询与更新接口,
* 写入 {@code max_order}、VIP/转卖/状态 及 {@code viptime}(当前时间 +2 天,若落在周末则顺延至下周一)。
*/
Map<String, Object> syncHxrAdminUserVipByApplyDateRange(
LocalDate applyDateStart, LocalDate applyDateEnd, String tenantId, Integer maxOrder);
/**
* 根据订货自然语言描述调用大模型解析为 {@link LbPurchaseApply}(不落库)。
*