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<com.hxzk.pojo.TbHistoryPower> {
|
|
|
@Select("select * from tb_history_power_${nyr}")
|
public List<com.hxzk.pojo.TbHistoryPower> findPowerTag(String nyr);
|
|
|
@Select("select * from tb_history_power_${time} where tagid LIKE CONCAT('%', #{tagid}, '%')")
|
public List<com.hxzk.pojo.TbHistoryPower> findSearch(com.hxzk.pojo.TbHistoryPower historyPower);
|
|
}
|