|
|
@@ -7,7 +7,7 @@ import com.gree.mall.manager.bean.admin.AdminUserCom;
|
|
|
import com.gree.mall.manager.bean.user.UserLevelBean;
|
|
|
import com.gree.mall.manager.bean.user.UserLevelVO;
|
|
|
import com.gree.mall.manager.commonmapper.CommonMapper;
|
|
|
-import com.gree.mall.manager.commonmapper.UserLevelMapper;
|
|
|
+import com.gree.mall.manager.commonmapper.UserLevelCMapper;
|
|
|
import com.gree.mall.manager.exception.RemoteServiceException;
|
|
|
import com.gree.mall.manager.logic.common.CommonLogic;
|
|
|
import com.gree.mall.manager.plus.entity.User;
|
|
|
@@ -43,7 +43,7 @@ public class UserLevelLogic {
|
|
|
private final UserLevelRelaService userLevelRelaService;
|
|
|
private final UserLevelGoodsService userLevelGoodsService;
|
|
|
private final UserService userService;
|
|
|
- private final UserLevelMapper userLevelMapper;
|
|
|
+ private final UserLevelCMapper userLevelCMapper;
|
|
|
|
|
|
public IPage<UserLevelVO> page(ZfireParamBean zfireParamBean) {
|
|
|
AdminUserCom adminUser = commonLogic.getAdminUser();
|
|
|
@@ -157,7 +157,7 @@ public class UserLevelLogic {
|
|
|
for (UserLevelRela userLevelRela : userLevel.getRelaList()) {
|
|
|
UserLevelRela rela = new UserLevelRela();
|
|
|
// 如果会员在其他等级里就阻止
|
|
|
- final UserLevel existUserLevel = userLevelMapper.existUserInUserLevel(loginCompanyWechatId, userLevelRela.getUserId(), userLevel.getId());
|
|
|
+ final UserLevel existUserLevel = userLevelCMapper.existUserInUserLevel(loginCompanyWechatId, userLevelRela.getUserId(), userLevel.getId());
|
|
|
|
|
|
if (Objects.nonNull(existUserLevel)) {
|
|
|
final User user = userService.getById(userLevelRela.getUserId());
|