| | |
| | | |
| | | int countByCardNo(@Param("cardNo") String cardNo, @Param("excludeId") Long excludeId); |
| | | |
| | | int countByFullCardNo(@Param("fullCardNo") String fullCardNo, @Param("excludeId") Long excludeId); |
| | | |
| | | int adjustBalance(@Param("ids") List<Long> ids, |
| | | @Param("amount") BigDecimal amount, |
| | | @Param("type") Integer type, |
| | |
| | | @Param("amount") BigDecimal amount, |
| | | @Param("orderCode") String orderCode, |
| | | @Param("createBy") Long createBy); |
| | | |
| | | /** |
| | | * 批量查询已存在的充电扣款流水订单号。 |
| | | */ |
| | | List<String> selectDeductedOrderCodes(@Param("orderCodes") List<String> orderCodes); |
| | | |
| | | /** |
| | | * 原子清零余额(账户模式切换回收专用:仅当余额>0时清零,返回受影响行数,天然幂等) |
| | | */ |
| | | int clearBalance(@Param("id") Long id, @Param("updateBy") Long updateBy); |
| | | } |