pull/16/head
parent
4aed73b1d5
commit
5af1206445
|
@ -44,7 +44,7 @@ public class RechargeOrderDO extends TenantBaseDO {
|
||||||
/**
|
/**
|
||||||
* 用户id
|
* 用户id
|
||||||
*/
|
*/
|
||||||
private Integer uid;
|
private Long uid;
|
||||||
/**
|
/**
|
||||||
* 用户姓名
|
* 用户姓名
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1408,7 +1408,7 @@ public class StoreOrderServiceImpl extends ServiceImpl<StoreOrderMapper, StoreOr
|
||||||
RechargeOrderDO orderDO = new RechargeOrderDO();
|
RechargeOrderDO orderDO = new RechargeOrderDO();
|
||||||
List<OrderContentRequest.OrderInfo> orderInfos = request.getOrderInfos();
|
List<OrderContentRequest.OrderInfo> orderInfos = request.getOrderInfos();
|
||||||
orderDO.setOrderId(code);
|
orderDO.setOrderId(code);
|
||||||
orderDO.setUid(user.getId().intValue());
|
orderDO.setUid(user.getId());
|
||||||
orderDO.setRealName(user.getNickname());
|
orderDO.setRealName(user.getNickname());
|
||||||
orderDO.setUserPhone(StringUtils.isEmpty(request.getUserPhone()) ? user.getMobile() : request.getUserPhone());
|
orderDO.setUserPhone(StringUtils.isEmpty(request.getUserPhone()) ? user.getMobile() : request.getUserPhone());
|
||||||
orderDO.setConfirmPhone(StringUtils.isEmpty(request.getConfirmPhone()) ? user.getMobile() : request.getConfirmPhone());
|
orderDO.setConfirmPhone(StringUtils.isEmpty(request.getConfirmPhone()) ? user.getMobile() : request.getConfirmPhone());
|
||||||
|
|
Loading…
Reference in New Issue