|
@@ -391,14 +391,14 @@ public class PayServiceImpl implements PayService {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
- Map<String, String> channel = (Map<String, String>) JSON.parseObject(SporadicChannel, Map.class);
|
|
|
+ Map<String, Object> channel = (Map<String, Object>) JSON.parseObject(SporadicChannel, Map.class);
|
|
|
|
|
|
- BigDecimal minReceiptMoney = new BigDecimal(channel.get("minReceiptMoney")); //最小接收的金额(不包含)
|
|
|
+ BigDecimal minReceiptMoney = new BigDecimal(channel.get("minReceipt").toString()); //最小接收的金额(不包含)
|
|
|
if (amount.compareTo(minReceiptMoney) <= 0) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
- Integer organId = Integer.parseInt(channel.get("organId"));
|
|
|
+ Integer organId = (Integer)channel.get("organId");
|
|
|
if (checkHasMaxReceipt(organId, amount)) {
|
|
|
return null;
|
|
|
}
|