📄 businessaction.java~23~
字号:
package com.jbaptech.accp.netbar.client;
import java.util.*;
import java.sql.*;
import java.util.ArrayList;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2005</p>
*
* <p>Company: 北京阿博泰克北大青鸟信息技术有限公司</p>
*
* @author Michael Luo
* @version 1.0
*/
public class BusinessAction {
public BusinessAction() {
}
public void getNotUsedComputeList(){
int i=1;
Connection con = null;
try{
con=ConnectionManager.getConnection();
Statement s = con.createStatement();
String strSql =
"select id from Computer where OnUse =\'0\'; ";
ResultSet rs = s.executeQuery(strSql);
while (rs.next()){
CheckInPanel.computerIdCombox.addItem(rs.getString("id"));
}
}catch(SQLException sqlE){
sqlE.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -