Luận văn Lập hồ sơ thanhquyết toán hợp đồng thi công xây dựng công trình 16 căn mẫu Tiểu Khu 1 gồm các nội dung chính như: Cơ sở lý luận về thanh, quyết toán công trình; giới thiệu công ty cổ phần xây dựng central và công trình 16 căn mẫu tiểu khu 1 dự án meyhomes capital; lập hồ sơ thanh, quyết toán hợp đồng thi công xây dựng công trình 16 căn... Đề tài Hoàn thiện công tác quản trị nhân sự tại Công ty TNHH Mộc Khải Tuyên được nghiên cứu nhằm giúp công ty TNHH Mộc Khải Tuyên làm rõ được thực trạng công tác quản trị nhân sự trong công ty như thế nào từ đó đề ra các giải pháp giúp công ty hoàn thiện công tác quản trị nhân sự tốt hơn trong thời gian tới.
Trang 1try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
}
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 2try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection(); try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 3try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection(); try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 4try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 5try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance(); Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 6try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
} }
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance(); Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 7try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection(); try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 8try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 9try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
} }
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance(); Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 10try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 11try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
} }
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance(); Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 12try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
}
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 13try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
} }
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance(); Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 14try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 15try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 16try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 17try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
} }
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 18try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
}
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 19try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance(); Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 20try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
} }
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 21try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 22try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
} }
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 23try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 24try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
} }
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 25try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection(); try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 26try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 27try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance(); Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 28try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
} }
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 29try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 30try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance(); Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 31try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
} }
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 32try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 33try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection(); try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 34try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 35try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
}
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 36try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace();
}
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection(); try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 37try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 38try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 39try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection();
try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;
Trang 40try {
pstm.close();
} catch (SQLException e2) {
e2.printStackTrace(); }
}
return n > 0;
}
public ArrayList<NhanVien> getTimKiem(String ma){
ArrayList<NhanVien> dsnv = new ArrayList<NhanVien>();
ConnectDB.getInstance();
Connection
con = ConnectDB.getConnection(); try {
String sql = "select * from NhanVien where maNV like N'%" +ma+"%'";
Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery(sql); while(rs.next()) { dsnv.add(new NhanVien(rs.getString("maNV"), rs.getString("ho"), rs.getString("ten"), rs.getInt("tuoi"), rs.getBoolean("phai"), dao_pb.getPBTheoMa(rs.getString("maPhong")), rs.getFloat("tienLuong"))); } } catch (SQLException e) {
// TODO: handle exception
e.printStackTrace(); }
return dsnv;