package com.ruoyi.xq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.xq.domain.ConsumeLog;
import org.springframework.transaction.annotation.Transactional;

/**
 * 分销记录Service接口
 *
 * @author 77
 * @date 2024-03-20
 */
public interface ConsumeLogService extends IService<ConsumeLog> {

    ConsumeLog calculateInitFenxiao(ConsumeLog consumeLog);

    @Transactional(rollbackFor = Exception.class)
    void dealFenxiao(Long id, boolean system);
}
