|
|
@@ -93,6 +93,7 @@ public class RegisterOrderDonServiceImpl extends ServiceImpl<RegisterOrderDonMap
|
|
|
Map<String, String> map = Jsons.toMap(register_price.getSysValue());
|
|
|
|
|
|
orderDon.setOrderNo(SEQUENCE.nextId() + "");
|
|
|
+ orderDon.setUserId(userId);
|
|
|
orderDon.setIsFree(isFree);
|
|
|
orderDon.setMoney(isFree ? BigDecimal.ZERO : new BigDecimal(map.get(req.getPlatform())));
|
|
|
orderDon.setStatus(isFree ? RegisterOrderDon.Status.hasPayment : RegisterOrderDon.Status.noPayment);
|