pull/16/head
perry 2023-05-24 18:57:56 +08:00
parent 4aed73b1d5
commit 5af1206445
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ public class RechargeOrderDO extends TenantBaseDO {
/** /**
* id * id
*/ */
private Integer uid; private Long uid;
/** /**
* *
*/ */

View File

@ -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());