package com.goafanti.common.dao;

import com.goafanti.common.model.PaymentLog;
import com.goafanti.organization.bo.OutPaymentLog;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface PaymentLogMapper {
    /**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table payment_log
	 * @mbg.generated  Tue Jul 20 09:16:06 CST 2021
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table payment_log
	 * @mbg.generated  Tue Jul 20 09:16:06 CST 2021
	 */
	int insert(PaymentLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table payment_log
	 * @mbg.generated  Tue Jul 20 09:16:06 CST 2021
	 */
	int insertSelective(PaymentLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table payment_log
	 * @mbg.generated  Tue Jul 20 09:16:06 CST 2021
	 */
	PaymentLog selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table payment_log
	 * @mbg.generated  Tue Jul 20 09:16:06 CST 2021
	 */
	int updateByPrimaryKeySelective(PaymentLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table payment_log
	 * @mbg.generated  Tue Jul 20 09:16:06 CST 2021
	 */
	int updateByPrimaryKey(PaymentLog record);

	List<OutPaymentLog> selectByPid(Integer id);
	

	void insertBatch(@Param("list")List<String> list, @Param("aid")String aid, @Param("aname")String aname, @Param("remarks")String remarks, @Param("status")Integer status);
	
}