shopUserService额外处理

This commit is contained in:
2025-12-05 14:31:59 +08:00
parent 0879143285
commit 8632fac9b4
7 changed files with 147 additions and 145 deletions

View File

@@ -22,7 +22,6 @@ public interface AShopUserService {
Page<ShopUser> getPushEventUser(SmsPushEventUser smsPushEventUser);
Page<ShopUser> getAcPushEventUser(SmsPushEventUser smsPushEventUser);
List<ShopUser> getPushEventUserList(SmsPushEventUser smsPushEventUser);
Boolean add(Long shopId, ShopUserAddDTO shopUserAddDTO);

View File

@@ -1,7 +1,9 @@
package com.czg.account.service;
import com.czg.account.dto.shopuser.ShopUserAddDTO;
import com.czg.account.dto.shopuser.ShopUserMoneyEditDTO;
import com.czg.account.entity.ShopUser;
import com.czg.market.entity.SmsPushEventUser;
import com.czg.market.vo.InviteUserVO;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
@@ -22,8 +24,16 @@ public interface ShopUserService extends IService<ShopUser> {
* 返回流水Id
*/
Long updateMoney(ShopUserMoneyEditDTO shopUserEditDTO);
/**
* 会自动获取到用户的主店铺id 然后获取用户信息
* 获取用户信息
*/
ShopUser getUserInfo(Long shopId, Long userId);
/**
* 获取店铺用户信息
* 包含会员折扣等信息
*/
ShopUser getShopUserInfo(Long shopId, long userId);
/**
@@ -31,15 +41,13 @@ public interface ShopUserService extends IService<ShopUser> {
*/
Page<InviteUserVO> getInviteUser(Long getDistributionUserId, Long shopId, Long shopUserId, Long distributionLevelId, Integer page, Integer size);
/**
* 会自动获取到用户的主店铺id 然后获取用户信息
* 获取用户信息
*/
ShopUser getUserInfo(Long shopId, Long userId);
boolean updateInfo(ShopUser shopUser);
List<ShopUser> selectBirthdayUser(LocalDate current, Long mainShopId, String userType);
void updateOneOrTwoAmount(Long shopUserId, Long shopId, BigDecimal bigDecimal, Integer isOne);
List<ShopUser> getPushEventUserList(SmsPushEventUser smsPushEventUser);
boolean join(Long shopId, Long userId, ShopUserAddDTO shopUserAddDTO);
}