Commit 33e6ae51 authored by 秦兴亮's avatar 秦兴亮

bug修复

parent 67d8e379
...@@ -837,7 +837,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements ...@@ -837,7 +837,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
UserAssetRecord userAssetRecord = new UserAssetRecord(); UserAssetRecord userAssetRecord = new UserAssetRecord();
userAssetRecord.setUid(order.getUid()); userAssetRecord.setUid(order.getUid());
userAssetRecord.setAmount(new BigDecimal(orderDetail.getNumber())); userAssetRecord.setAmount(new BigDecimal(orderDetail.getNumber()));
userAssetRecord.setCoin(Long.valueOf(o.toString())); userAssetRecord.setCoin(o.toString());
userAssetRecord.setFlowId(OrderUtil.getFlowId()); userAssetRecord.setFlowId(OrderUtil.getFlowId());
userAssetRecord.setType(12); userAssetRecord.setType(12);
userAssetRecord.setStatus(2); userAssetRecord.setStatus(2);
...@@ -958,7 +958,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements ...@@ -958,7 +958,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
UserAssetRecord userAssetRecord = new UserAssetRecord(); UserAssetRecord userAssetRecord = new UserAssetRecord();
userAssetRecord.setUid(order.getUid()); userAssetRecord.setUid(order.getUid());
userAssetRecord.setAmount(new BigDecimal(orderDetail.getNumber())); userAssetRecord.setAmount(new BigDecimal(orderDetail.getNumber()));
userAssetRecord.setCoin(Long.valueOf(o.toString())); userAssetRecord.setCoin(orderDetail.getCoin());
userAssetRecord.setFlowId(OrderUtil.getFlowId()); userAssetRecord.setFlowId(OrderUtil.getFlowId());
userAssetRecord.setType(12); userAssetRecord.setType(12);
userAssetRecord.setStatus(2); userAssetRecord.setStatus(2);
...@@ -1095,7 +1095,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements ...@@ -1095,7 +1095,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
UserAssetRecord userAssetRecord = new UserAssetRecord(); UserAssetRecord userAssetRecord = new UserAssetRecord();
userAssetRecord.setUid(order.getUid()); userAssetRecord.setUid(order.getUid());
userAssetRecord.setAmount(new BigDecimal(orderDetail.getNumber())); userAssetRecord.setAmount(new BigDecimal(orderDetail.getNumber()));
userAssetRecord.setCoin(orderDetail.getCoin()); userAssetRecord.setCoin(o.toString());
userAssetRecord.setFlowId(OrderUtil.getFlowId()); userAssetRecord.setFlowId(OrderUtil.getFlowId());
userAssetRecord.setType(12); userAssetRecord.setType(12);
userAssetRecord.setStatus(2); userAssetRecord.setStatus(2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment