asp system B / S-based Chinese medicine interrogation system based on knowledge base

With the growing size of the health care, information becomes more and more. At the same time the rapid development of computer network technology, network management has become more and more widespread use. Therefore, the establishment of a B / Knowledge-based inquiry system of Chinese medicine S mode to manage information, make the management of systematic, standardized, based on the knowledge base will improve the image of Chinese medicine inquiries, improve management efficiency.
This interrogation system of Chinese medicine is based on the knowledge base for the current database based on the actual needs of Chinese medicine inquiries, starting from the actual work, based on the analysis of existing knowledge of TCM interrogation system problems of the past, combined with computer system architecture, concepts, models, principles, methods, in the case of the various advantages of the computer, using the most popular B / S structure and visual studio2008 editor, sqlserver database design and implementation. Based on this knowledge base in medicine interrogation system includes a plurality of modules of the system user management module, the module medicine knowledge management, knowledge base management, medicine management inquiries, login module and exit module. It helps Chinese medicine knowledge base inquiries realized the information, networking, through testing, system design to achieve the target, compared to the traditional management model, this system is based on the rational use of resources based on Chinese medicine queries data repository , effectively reducing the economic input of Chinese medicine based on the knowledge base inquiries, greatly improving the efficiency of Chinese medicine Inquirer Knowledge Base.

 

if(ac.equals("adminlogin"))

{

String username = request.getParameter("username");

String password = request.getParameter("pwd");

String utype = request.getParameter("cx");

String pagerandom = request.getParameter("pagerandom")==null?"":request.getParameter("pagerandom");

String random = (String)request.getSession().getAttribute("random");

if(!pagerandom.equals(random)&&request.getParameter("a")!=null)

{

request.setAttribute("random", "");

go("/login.net", request, response);

}

else{

String sql1 = "select * from allusers where username='"+username+"' and pwd='"+password+"'  ";

List<HashMap> userlist1 = dao.select(sql1);

if(userlist1.size()==1)

{

request.getSession(). setAttribute("username", userlist1.get(0).get("username"));

request.getSession(). setAttribute("cx",  userlist1.get(0).get("cx"));

gor("main.net", request, response);

}else{

request.setAttribute("error", "");

go("/login.net", request, response);

}

}

}

 

 

Guess you like

Origin www.cnblogs.com/lqby/p/11573196.html