All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.charlemaznable.bunny.rabbit.dao.BunnyDao Maven / Gradle / Ivy

Go to download

Bunny rabbits will skip hand-in-hand with baby lambs across sunny green meadows.

There is a newer version: 2023.0.4
Show newest version
package com.github.charlemaznable.bunny.rabbit.dao;

import com.github.charlemaznable.bunny.rabbit.core.query.QueryResult;
import org.n3r.eql.eqler.annotations.Param;

@BunnyEqler
public interface BunnyDao {

    /**
     * 充值, 更新服务余额
     */
    int updateBalanceByCharge(@Param("chargeCode") String chargeCode,
                              @Param("chargeValue") int chargeValue);

    /**
     * 查询服务余额
     */
    QueryResult queryChargingBalance(@Param("chargeCode") String chargeCode);

    /**
     * 记录确认/回退预扣减异常日志
     */
    void logError(@Param("logId") String logId,
                  @Param("seqId") String seqId,
                  @Param("logContent") String logContent);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy