package com.fgkj.mapper.impl.ram;
|
|
import com.fgkj.dto.JhState;
|
import org.apache.ibatis.annotations.Select;
|
|
import java.util.List;
|
|
public interface JhStateMapper{
|
|
//根据设备id查询设备均衡供电模块的信息
|
@Select(" select * from db_ram_db.tb_61850_jhstate where dev_id=#{dev_id} ")
|
public List<JhState> serchByCondition(JhState jh);
|
|
/*public static void main(String[] args) {
|
JhStateImpl jimpl=new JhStateImpl();
|
JhState jh=new JhState();
|
jh.setDev_id(618500001);
|
List list=jimpl.serchByCondition(jh);
|
System.out.println(list.size());
|
}*/
|
}
|