package com.ajin.ajinerp.master.account.dao;


import com.ajin.ajinerp.master.account.vo.AccountVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AccountDAO {
    /**
     * @author 박민혁
     * @since 2024.03.13
     *
     * 계정 과목 정보 조회
     */
    List<AccountVO> getAccountList() throws Exception;

    /**
     * @author 박민혁
     * @since 2024.03.14
     *
     * 계정 과목 정보 검색
     */
    List<AccountVO> searchAccountList(AccountVO accountVO) throws Exception;

    /**
     * @author 박민혁
     * @since 2024.03.13
     *
     * 계정 과목 정보 단일 조회
     */
    AccountVO getAccountData(AccountVO accountVO) throws Exception;

    /**
     * @author 박민혁
     * @since 2024.03.13
     *
     * 계정 과목 정보 추가 및 수정
     */
    int mergeAccountData(AccountVO accountVO) throws Exception;

    /**
     * @author 박민혁
     * @since 2024.03.13
     *
     * 계정 과목 정보 삭제
     */
    int deleteAccountData(String accode) throws Exception;


}
