package com.neusoft.smart.pos.member.persistent.mapper;

import com.neusoft.smart.pos.member.persistent.domain.MemberCapitalChange;
import com.neusoft.smart.pos.member.persistent.domain.MemberCapitalChangeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberCapitalChangeMapper {
    int countByExample(MemberCapitalChangeExample example);

    int deleteByExample(MemberCapitalChangeExample example);

    int deleteByPrimaryKey(Integer amountChangeId);

    int insert(MemberCapitalChange record);

    int insertSelective(MemberCapitalChange record);

    List<MemberCapitalChange> selectByExample(MemberCapitalChangeExample example);

    MemberCapitalChange selectByPrimaryKey(Integer amountChangeId);

    int updateByExampleSelective(@Param("record") MemberCapitalChange record, @Param("example") MemberCapitalChangeExample example);

    int updateByExample(@Param("record") MemberCapitalChange record, @Param("example") MemberCapitalChangeExample example);

    int updateByPrimaryKeySelective(MemberCapitalChange record);

    int updateByPrimaryKey(MemberCapitalChange record);

    void batchInsert(@Param("items") List<MemberCapitalChange> items);
}