package com.pwt.web.mapper;

import com.pwt.web.domain.PwtHolderBatteryStateCache;
import org.apache.ibatis.annotations.MapKey;

import java.util.Collection;
import java.util.Map;

public interface PwtHolderBatteryStateCacheMapper {

    public int updateBatteryStateCacheRecord(PwtHolderBatteryStateCache cache);

    @MapKey("holderId")
    public Map<Integer, PwtHolderBatteryStateCache> getBatteryStateCacheMap();
}
