提交代码

dev-discount
胡锐 3 years ago
parent c68921be58
commit 10bcf42ebd
  1. 5
      hai-cweb/src/main/java/com/cweb/controller/OutRechargeOrderController.java

@ -130,12 +130,13 @@ public class OutRechargeOrderController {
} }
HighUserCard highUserCard = highUserCardService.getUserHtlCardNo(userInfoModel.getHighUser().getId()); HighUserCard highUserCard = highUserCardService.getUserHtlCardNo(userInfoModel.getHighUser().getId());
if (highUserCard != null) {
outRechargeOrder.setIdCard(highUserCard.getCardNo());
}
outRechargeOrder.setRemarks(remarks); outRechargeOrder.setRemarks(remarks);
outRechargeOrder.setRechargeName(remarks); outRechargeOrder.setRechargeName(remarks);
outRechargeOrder.setOrderNo("CZ" + DateUtil.date2String(new Date(),"yyyyMMddHHmmss") + IDGenerator.nextId(5)); outRechargeOrder.setOrderNo("CZ" + DateUtil.date2String(new Date(),"yyyyMMddHHmmss") + IDGenerator.nextId(5));
outRechargeOrder.setUserId(userInfoModel.getHighUser().getId()); outRechargeOrder.setUserId(userInfoModel.getHighUser().getId());
outRechargeOrder.setIdCard(highUserCard.getCardNo());
outRechargeOrder.setUserName(userInfoModel.getHighUser().getName()); outRechargeOrder.setUserName(userInfoModel.getHighUser().getName());
outRechargeOrder.setUserPhone(userInfoModel.getHighUser().getPhone()); outRechargeOrder.setUserPhone(userInfoModel.getHighUser().getPhone());

Loading…
Cancel
Save