|
|
|
@ -9,6 +9,7 @@ import com.hai.common.security.SessionObject; |
|
|
|
|
import com.hai.common.security.UserCenter; |
|
|
|
|
import com.hai.common.utils.BaiduUtils; |
|
|
|
|
import com.hai.common.utils.DateUtil; |
|
|
|
|
import com.hai.common.utils.HttpsUtils; |
|
|
|
|
import com.hai.common.utils.RequestUtils; |
|
|
|
|
import com.hai.dao.HighGoldRecMapper; |
|
|
|
|
import com.hai.dao.HighUserLoginLogMapper; |
|
|
|
@ -18,7 +19,6 @@ import com.hai.enum_type.LoginPlatform; |
|
|
|
|
import com.hai.enum_type.OilCardBindStatusEnum; |
|
|
|
|
import com.hai.enum_type.UserCardType; |
|
|
|
|
import com.hai.model.HighUserModel; |
|
|
|
|
import com.hai.openApi.config.BlxConfig; |
|
|
|
|
import com.hai.service.*; |
|
|
|
|
import org.apache.commons.collections4.MapUtils; |
|
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
@ -50,8 +50,10 @@ public class HighUserServiceImpl implements HighUserService { |
|
|
|
|
private HighUserCouponService highUserCouponService; |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private HighUserCardService highUserCardService; |
|
|
|
|
private OutRechargeOrderService outRechargeOrderService; |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private HighUserCardService highUserCardService; |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private HighOrderService highOrderService; |
|
|
|
@ -121,6 +123,7 @@ public class HighUserServiceImpl implements HighUserService { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
SecRegion region = commonService.getRegionsByName(loginLog.getProvinceName()); |
|
|
|
|
// distributionUserRelService.insertDistributionRebate(user.getId(), popularizeUserId, "500000");
|
|
|
|
|
if (region != null) { |
|
|
|
|
// 绑定推广关联关系
|
|
|
|
|
distributionUserRelService.insertDistributionUserRel(user.getId(), popularizeUserId, region.getRegionId().toString()); |
|
|
|
@ -167,8 +170,8 @@ public class HighUserServiceImpl implements HighUserService { |
|
|
|
|
if (StringUtils.isNotBlank(MapUtils.getString(map , "name"))) { |
|
|
|
|
criteria.andNameLike("%" + MapUtils.getString(map , "name") + "%"); |
|
|
|
|
} |
|
|
|
|
if (MapUtils.getInteger(map , "status") != null) { |
|
|
|
|
criteria.andStatusEqualTo(MapUtils.getInteger(map , "status")); |
|
|
|
|
if (StringUtils.isNotBlank(map.get("status"))) { |
|
|
|
|
criteria.andStatusEqualTo(Integer.valueOf(map.get("status"))); |
|
|
|
|
} |
|
|
|
|
if (MapUtils.getBoolean(map , "isAgent") != null) { |
|
|
|
|
criteria.andIsAgentEqualTo(MapUtils.getBoolean(map , "isAgent")); |
|
|
|
|