package com.ga.common.code;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AccountCodeMapper {

    List<AccountCodeVO> selectAll(@Param("accountType") String accountType);
    List<AccountCodeVO> selectActive(@Param("accountType") String accountType);
    AccountCodeVO selectOne(@Param("accountCode") String accountCode);
    int insert(AccountCodeVO vo);
    int update(AccountCodeVO vo);
    int delete(@Param("accountCode") String accountCode);
    int existsByCode(@Param("accountCode") String accountCode);
}
