zhitong.yu
2024-04-18 a239a844f00b4a75c7f22db8a834fc8b5f92b54f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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<TbAcHistoryPower> {
 
    @Select("select * from tb_ac_history_power_${nyr}")
    public List<TbAcHistoryPower> findAll(String nyr);
 
    @Select("select * from tb_ac_history_power_${addtime} where anchorId LIKE CONCAT('%', #{anchorId}, '%')")
    public List<TbAcHistoryPower> findSearch(com.hxzk.pojo.TbAcHistoryPower TbAcHistoryPower);
}