|
|
|
@ -72,10 +72,12 @@ public class LaKaLaTradeSeparateService { |
|
|
|
|
Map<String,Object> recvDatasMap; |
|
|
|
|
|
|
|
|
|
for (BsTradeOrderProfitSharingReceiver receiver : profitSharingReceiverList) { |
|
|
|
|
recvDatasMap = new HashMap<>(); |
|
|
|
|
recvDatasMap.put("recv_no", receiver.getReceiverAccount()); |
|
|
|
|
recvDatasMap.put("separate_value", receiver.getReceiverAmount().multiply(new BigDecimal("100")).longValue()); |
|
|
|
|
recvDatasMapList.add(recvDatasMap); |
|
|
|
|
if (receiver.getReceiverAmount().compareTo(new BigDecimal("0")) != 0) { |
|
|
|
|
recvDatasMap = new HashMap<>(); |
|
|
|
|
recvDatasMap.put("recv_no", receiver.getReceiverAccount()); |
|
|
|
|
recvDatasMap.put("separate_value", receiver.getReceiverAmount().multiply(new BigDecimal("100")).longValue()); |
|
|
|
|
recvDatasMapList.add(recvDatasMap); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
map.put("recv_datas", recvDatasMapList); |
|
|
|
|
commonParam.put("req_data", map); |
|
|
|
|