package com.hxzk.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Select; import java.util.List; public interface TbHistoryPower extends BaseMapper { @Select("select * from tb_history_power_${nyr}") public List findPowerTag(String nyr); @Select("select * from tb_history_power_${time} where tagid LIKE CONCAT('%', #{tagid}, '%')") public List findSearch(com.hxzk.pojo.TbHistoryPower historyPower); }