JSP hospital management system

With the development and popularization of computer technology, network technology and communication technology, many areas of the hospital are using these advanced digital technology, information technology and networking. These techniques can be greatly improved work efficiency and save manpower, material resources and reduce errors.
On the basis of the actual work of business between the overall analysis of hospital departments and departments above, combined with the concept of management systems development, about each step in the development of hospital management system, set forth in detail the purpose of the system development process and the expected results. Development of hospital management system includes the backstage database SQL establishment and maintenance as well as front-end Java application development aspects.
Hospital management system include: personnel entry, patient information management, case management, registration information management, patient information management, data dictionary and other functional modules. Through the main functional blocks of the analysis and design, project management and thus practical application in real projects.

Twenty-first century, with the rapid development of the Internet and the accelerated pace of life, the Internet has become fast access, publish and communicate important information channel, which plays an important role in all aspects of people's political, economic and daily life. At the same time, with the information technology into every corner of people's lives, more and more people realize that information to us the convenience and inherent potential and business opportunities. Information has become after labor, land, capital, another big resources, who controls the more information, the higher the efficiency of the use of information resources who, who will occupy a place in the competition in all aspects, who will have an advantage it has been universally acknowledged. Therefore, the construction of computer information position in the Internet obviously, it has become an important part of the government, enterprises, information construction.

The core code is as follows:

public BOOLEAN addUserInfo(UserInfo userInfo) {

BOOLEAN flag = FALSE;

Connection conn = NULL;

PreparedStatement pstmt = NULL;

String SQL = "insert into t_user_info(account, pswd, tel, type, root)

values(?, ?, ?, ?, ?)";

try {

conn = DbUtil.<em>getConnection</em>();

pstmt = conn.prepareStatement(SQL);

pstmt.setString(1, userInfo.getAccount());

pstmt.setString(2, userInfo.getPswd());

pstmt.setString(3, userInfo.getTel());

pstmt.setString(4, userInfo.getType());

pstmt.setInt(5, userInfo.getRoot());

INT t = pstmt.executeUpdate();

IF (t &gt;= 1) {

flag = TRUE;

}

} catch (Exception e) {

e.printStackTrace();

} finally {

DbUtil.<em>close</em>(pstmt);

DbUtil.<em>close</em>(conn);

}

RETURN flag;

}

 

 

Guess you like

Origin www.cnblogs.com/bfmbch/p/11607407.html