1. Trang chủ
  2. » Luận Văn - Báo Cáo

Luận văn tốt nghiệp ngành Kinh tế vận tải: Đánh giá kết quả hoạt động giải phóng tàu tại Tân Cảng – Cát Lái năm 20182019

93 7 0
Tài liệu được quét OCR, nội dung có thể không chính xác
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 93
Dung lượng 14,61 MB

Nội dung

Luận văn Đánh giá kết quả hoạt động giải phóng tàu tại Tân Cảng – Cát Lái năm 20182019 được hoàn thành với mục tiêu nhằm đánh giá kết quả hoạt động giải phóng tàu tại Cảng Cát Lái năm 20182019; qua đó, đánh giá hoạt động giải phóng tàu tại Cảng Cát Lái trong hai năm gần đây, từ đó nghiên cứu những yếu tố ảnh hưởng, phân tích... Đề 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 1

try {

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 2

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 3

try {

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 4

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 5

try {

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 6

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 7

try {

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 8

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 9

try {

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 10

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 11

try {

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 12

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 13

try {

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 14

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 15

try {

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 16

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 17

try {

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 18

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 19

try {

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 20

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 21

try {

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 22

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 23

try {

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 24

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 25

try {

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 26

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 27

try {

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 28

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 29

try {

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 30

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 31

try {

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 32

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 33

try {

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 34

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 35

try {

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 36

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 37

try {

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 38

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 39

try {

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 40

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;

Ngày đăng: 11/07/2023, 10:09

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w