package com.jsowell.pile.mapper;

import com.jsowell.pile.domain.PileMsgRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PileMsgRecordMapper {
	int insertSelective(PileMsgRecord record);

	// PileMsgRecord selectByPrimaryKey(Integer id);

	// PileMsgRecord getByPileSn(String pileSn);

	// PileMsgRecord getByConnectorCode(String connectorCode);

	/**
	 * 根据枪口号查询枪口日志
	 * @param connectorCodeList
	 * @return
	 */
    // List<PileMsgRecord> getByConnectorCodeList(@Param("connectorCodeList") List<String> connectorCodeList);

	/**
	 * 查询充电桩通信日志
	 * @param pileSn 桩号
	 * @return
	 */
	List<PileMsgRecord> getPileFeedList(@Param("pileSn") String pileSn);
}
