|
|
@@ -10,7 +10,6 @@ import com.cyksj.enums.GatewayApiCode;
|
|
|
import com.cyksj.enums.GatewayResponse;
|
|
|
import com.cyksj.mapper.OrderDonMapper;
|
|
|
import com.cyksj.mapper.manage.coupon.CouponUserMapper;
|
|
|
-import com.cyksj.mapper.market.task.UserBindDetailMapper;
|
|
|
import com.cyksj.model.dto.UserWhoami;
|
|
|
import com.cyksj.model.entity.*;
|
|
|
import com.cyksj.model.manage.views.GroupsRelationView;
|
|
|
@@ -59,8 +58,6 @@ public class UserController {
|
|
|
|
|
|
private final OrderDonMapper orderDonMapper;
|
|
|
|
|
|
- private final UserBindDetailMapper UserBindDetailMapper;
|
|
|
-
|
|
|
private final UserRealOrderBenefitsService userRealOrderBenefitsService;
|
|
|
|
|
|
private final BeanSearcher beanSearcher;
|
|
|
@@ -115,12 +112,6 @@ public class UserController {
|
|
|
.eq(OrderDon::getUserId, userId)
|
|
|
.eq(OrderDon::getStatus, OrderDon.Status.noPayment).last("limit 1"));
|
|
|
personalView.setIsNoPayment(orderDon != null ? true : false);
|
|
|
- UserBindDetail bindPhone = UserBindDetailMapper.selectOne(Wrappers.lambdaQuery(UserBindDetail.class)
|
|
|
- .eq(UserBindDetail::getUserId, userId).last("limit 1"));
|
|
|
- //手机号
|
|
|
- if (bindPhone != null) {
|
|
|
- personalView.setPhone(bindPhone.getPhone());
|
|
|
- }
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(personalView);
|
|
|
}
|
|
|
|