double和int兼容

master
lvxinran 2021-06-18 16:44:52 +08:00
parent 9146c71e90
commit ee2dc9aac8
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ public class MHTGnWebRechargeController {
LOGGER.info("serviceKey : " + serviceKey);
try {
rPCClient = ClientAdapterPo.getClientAdapterPo(serviceKey);
result = rPCClient.getClient().deliveryRecharge(cUserInfo.getId(), consumerName, data.getConsumerid(), orderNo, 0, Integer.parseInt(amount));
result = rPCClient.getClient().deliveryRecharge(cUserInfo.getId(), consumerName, data.getConsumerid(), orderNo, 0, (int)Double.parseDouble(amount));
} catch (Exception e) {
LOGGER.info("callback=>", e);
} finally {