| | |
| | | R<BigDecimal> refundBalance(@RequestParam("companyId") Integer companyId, @RequestParam("amount") BigDecimal amount); |
| | | |
| | | /** |
| | | * 锁定公司金额(VIN码充电申请,按「可用余额-锁定金额」条件更新,余额不足返回失败;返回锁定后剩余可用金额) |
| | | */ |
| | | @PostMapping("/group-company/remote/lock-balance") |
| | | R<BigDecimal> lockBalance(@RequestParam("companyId") Integer companyId, @RequestParam("amount") BigDecimal amount); |
| | | |
| | | /** |
| | | * 结算公司金额(解锁锁定额并按实际消费扣减,允许扣成负数;返回扣减后余额) |
| | | */ |
| | | @PostMapping("/group-company/remote/settle-balance") |
| | | R<BigDecimal> settleBalance(@RequestParam("companyId") Integer companyId, |
| | | @RequestParam("lockedAmount") BigDecimal lockedAmount, |
| | | @RequestParam("actualAmount") BigDecimal actualAmount); |
| | | |
| | | /** |
| | | * 释放公司锁定金额(未产生消费时使用,返回释放后余额) |
| | | */ |
| | | @PostMapping("/group-company/remote/unlock-balance") |
| | | R<BigDecimal> unlockBalance(@RequestParam("companyId") Integer companyId, @RequestParam("amount") BigDecimal amount); |
| | | |
| | | /** |
| | | * 查询车队详情 |
| | | */ |
| | | @PostMapping("/fleet/remote/get/{id}") |