|
|
@@ -356,7 +356,7 @@ public class ChinaumsSenselessPayService extends SuperService {
|
|
|
SatInfo satInfo = new SatInfo();
|
|
|
satInfo.setMerId(orgConf.getMchId());
|
|
|
satInfo.setFeeBear("Y");
|
|
|
- BigDecimal ratioTotal = total.multiply(model.getRatio());
|
|
|
+ BigDecimal ratioTotal = total.multiply(model.getRatio().movePointLeft(2));
|
|
|
satInfo.setSatAmt(ratioTotal.toBigInteger().toString());
|
|
|
satInfo.setMerOrderId(shareOrderNo);
|
|
|
|
|
|
@@ -366,7 +366,7 @@ public class ChinaumsSenselessPayService extends SuperService {
|
|
|
shareOrder.setProjectOid(projectOid);
|
|
|
|
|
|
shareOrder.setAmount(ratioTotal.toBigInteger().longValue());
|
|
|
- shareOrder.setRatio(model.getRatio());
|
|
|
+ shareOrder.setRatio(model.getRatio().movePointLeft(2));
|
|
|
shareOrder.setShareOrderType(ShareOrderType.Pay);
|
|
|
shareOrder.setShareOrderNo(shareOrderNo);
|
|
|
shareOrderDao.save(shareOrder);
|