perryhsu
2020-10-17 a543f4de1c91ef6f43aace92975c6cf28de23618
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.fgkj.mapper.impl.ram;
 
import java.util.List;
 
public interface Server_stateMapper{
 
    public boolean add(Object obj);
 
    public boolean update(Object obj);
 
    public boolean del(Object obj);
 
    //查询系统的cpu,内存使用率
    public List searchAll();
 
    public List serchByCondition(Object obj);
 
    /*public static void main(String[] args) {
        Server_stateImpl si=new Server_stateImpl();
        Server_state ss=new Server_state();
        ss.setNum(1);
        //List<Server_state> list=si.serchByCondition(ss);
        
        List<Server_state> list=si.searchAll();
        System.out.println(list.size());
        for(Server_state h:list){
            System.out.println(h);
        }
    }*/
 
}