資源簡介
408JSP醫(yī)院住院管理系統(tǒng).rar

代碼片段和文件信息
package?com.action;
import?java.util.List;
import?java.util.Map;
import?org.apache.struts2.ServletActionContext;
import?com.dao.TBingfangDAO;
import?com.dao.TZhuanjiaDAO;
import?com.model.TBingfang;
import?com.opensymphony.xwork2.ActionSupport;
public?class?bingfangAction?extends?ActionSupport
{
private?Integer?id;
private?String?fanghao;
private?String?del;
private?TBingfangDAO?bingfangDAO;
public?String?bingfangAdd()
{
TBingfang?bingfang=new?TBingfang();
//bingfang.setId(id);
bingfang.setFanghao(fanghao);
bingfang.setDel(“no“);
bingfangDAO.save(bingfang);
Map?request=(Map)ServletActionContext.getContext().get(“request“);
request.put(“msg“?“操作成功“);
return?“msg“;
}
public?String?bingfangMana()
{
String?sql=“from?TBingfang?where?del=‘no‘“;
List?bingfangList=bingfangDAO.getHibernateTemplate().find(sql);
Map?request=(Map)ServletActionContext.getContext().get(“request“);
request.put(“bingfangList“?bingfangList);
return?ActionSupport.SUCCESS;
}
public?String?bingfangDel()
{
TBingfang?bingfang=bingfangDAO.findById(id);
bingfang.setDel(“yes“);
bingfangDAO.attachDirty(bingfang);
Map?request=(Map)ServletActionContext.getContext().get(“request“);
request.put(“msg“?“操作成功“);
return?“msg“;
}
public?Integer?getId()
{
return?id;
}
public?void?setId(Integer?id)
{
this.id?=?id;
}
public?String?getFanghao()
{
return?fanghao;
}
public?void?setFanghao(String?fanghao)
{
this.fanghao?=?fanghao;
}
public?String?getDel()
{
return?del;
}
public?void?setDel(String?del)
{
this.del?=?del;
}
public?TBingfangDAO?getBingfangDAO()
{
return?bingfangDAO;
}
public?void?setBingfangDAO(TBingfangDAO?bingfangDAO)
{
this.bingfangDAO?=?bingfangDAO;
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????1589380??2015-01-16?00:06??408JSP醫(yī)院住院管理系統(tǒng)\JSP醫(yī)院住院管理系統(tǒng)錄像.exe
?????文件????????745??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.classpath
?????文件????????552??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.externalToolBuilders\org.eclipse.wst.common.project.facet.core.builder?(8).launch
?????文件????????548??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.externalToolBuilders\org.eclipse.wst.jsdt.core.ja
?????文件????????611??2015-01-03?16:00??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.myhibernatedata
?????文件????????282??2015-04-03?12:03??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.myme
?????文件???????2626??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.project
?????文件????????500??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.settings\.jsdtscope
?????文件?????????99??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.settings\org.eclipse.core.resources.prefs
?????文件????????395??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.settings\org.eclipse.jdt.core.prefs
?????文件????????453??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.settings\org.eclipse.wst.common.component
?????文件????????252??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件?????????49??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件??????????6??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????文件????????474??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\.springBeans
?????文件???????1896??2014-12-16?00:08??408JSP醫(yī)院住院管理系統(tǒng)\yyg\src\com\action\bingfangAction.java
?????文件???????3980??2014-12-15?23:43??408JSP醫(yī)院住院管理系統(tǒng)\yyg\src\com\dao\TAdminDAO.java
?????文件???????5055??2014-12-16?00:53??408JSP醫(yī)院住院管理系統(tǒng)\yyg\src\com\dao\TZhuyuanDAO.java
?????文件????????782??2014-12-15?23:43??408JSP醫(yī)院住院管理系統(tǒng)\yyg\src\com\model\TAdmin.hbm.xm
?????文件????????782??2014-12-15?23:43??408JSP醫(yī)院住院管理系統(tǒng)\yyg\src\com\model\TKeshi.hbm.xm
?????文件???????1658??2015-01-03?15:45??408JSP醫(yī)院住院管理系統(tǒng)\yyg\src\com\model\TZhuyuan.hbm.xm
?????文件???????4461??2015-01-03?12:49??408JSP醫(yī)院住院管理系統(tǒng)\yyg\src\com\service\loginService.java
?????文件???????2922??2014-12-15?23:43??408JSP醫(yī)院住院管理系統(tǒng)\yyg\src\com\util\upload.java
?????文件???????3526??2014-12-15?23:43??408JSP醫(yī)院住院管理系統(tǒng)\yyg\src\struts.properties
?????文件???????4159??2015-01-03?16:28??408JSP醫(yī)院住院管理系統(tǒng)\yyg\src\struts.xm
?????文件?????????61??2014-02-27?17:03??408JSP醫(yī)院住院管理系統(tǒng)\yyg\WebRoot\admin\index.jsp
?????文件???????9727??2015-01-03?16:11??408JSP醫(yī)院住院管理系統(tǒng)\yyg\WebRoot\admin\left.jsp
?????文件?????????88??2013-03-29?12:10??408JSP醫(yī)院住院管理系統(tǒng)\yyg\WebRoot\admin\login.jsp
?????文件????????732??2014-12-15?23:40??408JSP醫(yī)院住院管理系統(tǒng)\yyg\WebRoot\admin\main.jsp
?????文件???????5100??2014-12-15?23:50??408JSP醫(yī)院住院管理系統(tǒng)\yyg\WebRoot\admin\top.jsp
............此處省略170個文件信息
評論
共有 條評論