新客立减相关

This commit is contained in:
张松
2025-11-11 16:24:56 +08:00
parent cdfc8162e7
commit ed59e39960
4 changed files with 31 additions and 9 deletions

View File

@@ -27,4 +27,5 @@ public class ShopUserDTO extends ShopUser {
private String memberLevelName;
private String nextMemberLevelName;
private Long nextExperience;
private boolean isNew;
}

View File

@@ -1,5 +1,6 @@
package com.czg.market.service;
import com.czg.account.entity.ShopUser;
import com.czg.market.vo.MkConsumeDiscountVO;
import com.mybatisflex.core.service.IService;
import com.czg.market.entity.MkShopConsumeDiscountRecord;
@@ -37,4 +38,6 @@ public interface MkShopConsumeDiscountRecordService extends IService<MkShopConsu
* @param amount 减免金额
*/
void useDiscount(Long shopUserId, Long orderId, BigDecimal amount);
boolean isNewUser(ShopUser shopUser, Long shopId);
}