|
|
@@ -10,6 +10,7 @@ import com.kxs.transfer.api.model.table.DMLData;
|
|
|
import com.kxs.transfer.api.service.user.KxsPartnerService;
|
|
|
import com.kxs.user.api.model.KxsLeaderAmountLog;
|
|
|
import com.kxs.user.api.model.KxsPartner;
|
|
|
+import org.apache.commons.lang3.ObjectUtils;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
@@ -96,6 +97,10 @@ public class KxsPartnerServiceImpl extends ServiceImpl<KxsPartnerMapper, KxsPart
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
+ //用户ID为空过滤
|
|
|
+ if(ObjectUtils.isEmpty(partner.getUserId())){
|
|
|
+ return;
|
|
|
+ }
|
|
|
KxsPartner kxsPartner = baseMapper.selectById(partner.getId());
|
|
|
if(kxsPartner == null){
|
|
|
partner.setPartnerLevel(9);
|