package com.ga.core.mapper.commission;

import com.ga.core.vo.commission.OverrideLedgerResp;
import com.ga.core.vo.commission.OverrideLedgerSearchParam;
import com.ga.core.vo.commission.OverrideLedgerVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * override_ledger Mapper — 오버라이드 상세 원장 (V44).
 */
@Mapper
public interface OverrideLedgerMapper {
    OverrideLedgerResp selectById(@Param("ledgerId") Long ledgerId);
    List<OverrideLedgerResp> selectList(OverrideLedgerSearchParam param);
    int insert(OverrideLedgerVO vo);
    int updateStatus(@Param("ledgerId") Long ledgerId, @Param("status") String status);
    int delete(@Param("ledgerId") Long ledgerId);
}
