package com.hxzk.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.hxzk.pojo.TbAcHistoryPower; import org.apache.ibatis.annotations.Select; import java.util.List; public interface TbAcHistroyPowerDao extends BaseMapper { @Select("select * from tb_ac_history_power_${nyr}") public List findAll(String nyr); @Select("select * from tb_ac_history_power_${addtime} where anchorId LIKE CONCAT('%', #{anchorId}, '%')") public List findSearch(com.hxzk.pojo.TbAcHistoryPower TbAcHistoryPower); }