package cc.mrbird.febs.dapp.service; import cc.mrbird.febs.common.entity.FebsConstant; import cc.mrbird.febs.dapp.entity.DappAchieve; import cc.mrbird.febs.dapp.entity.DappFundFlowEntity; import com.baomidou.mybatisplus.extension.service.IService; import org.springframework.scheduling.annotation.Async; import java.math.BigDecimal; import java.util.List; public interface AsyncCjService extends IService { /** * 缓存redis数据 */ @Async(FebsConstant.ASYNC_POOL) void redisCacheUpdate(String key, Object value, long time); @Async(FebsConstant.ASYNC_POOL) void updateDataDicEnumRedis(List nameList); @Async(FebsConstant.ASYNC_POOL) void updateAmount(Integer type, Long memberId, BigDecimal amount); @Async(FebsConstant.ASYNC_POOL) void insertTeamPerk(Long flowId, Long achieveId); // @Async(FebsConstant.ASYNC_POOL) void tradeProfitDistribute(); @Async(FebsConstant.ASYNC_POOL) void confirmOrder(DappFundFlowEntity dappFundFlowEntity); @Async(FebsConstant.ASYNC_POOL) void confirmCancel(DappFundFlowEntity dappFundFlowEntity); @Async(FebsConstant.ASYNC_POOL) void calculateAchieve(DappAchieve dappAchieve); }