com.github.charlemaznable.bunny.rabbit.dao.BunnyDao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bunny-rabbit Show documentation
Show all versions of bunny-rabbit Show documentation
Bunny rabbits will skip hand-in-hand with baby lambs across sunny green meadows.
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