版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、j2ee课程设计实训项目社区医疗信息管理系统一一实现项目的查询内科和儿科检查结果信息模块的相关功能杨教授大学堂精心创作的优秀程序员职业提升必读系列资料基于s2sh架构的j2ee课程设计实训项冃一一社区医疗信息管理系 统实现项目的查询内科和儿科检查结果信息模块的相关功能l.i.i实现项a的查询内科和儿科检查结果信息模块的相关功能1、修改菜单条中的相关链接& lt;span ><a href="$pagec on text.request.c on textpath/medicall nfoacti on! goquerymedica llnfo.ac
2、tion">查询检查结果&l t;/a> | </span>& lt;span ><ahref="$pagecontext.request.c on textpath/medicall nfoactio n!gostatistl/ledica llnfo.action">统计检查结果</a> | </span>& lt;span><ahref="$pa
3、gec on text.request.contextpath/medicallnfoactio n!goprintmedicall n fo.action">打印检查结果</a> | </span>2修改medicallnfoaction控制类中相关的程序代码 package com.pxl987.sshchims.action;import java.util.arraylist;import java.util.list;import javax.servlet.http.httpservletrequest
4、;import org.apache.struts2.servletactioncontext;import com.opensymphony.xwork2.actionsupport;import com.pxl987.sshchims.actionform.medicallnfoformbean;import com.pxl987.sshchims.dao.impl.examresultdaoimpl;import com.pxl987.sshchims.pobject.oldresultpo;public class medicall nfoactio n exte nds action
5、 support private medicallnfoformbean onemedicallnfoformbean二null; private examresultdaoimpi oneexamresultdaoimpl=null; public examresultdaoimpi getoneexamresultdaoimpio return oneexamresultdaoirnpl;杨教授大学堂,版权所有,盗版必究。1/6页杨教授大学堂精心创作的优秀程序员职业提升必读系列资料public void setoneexamresultdaoimpl(examresultdaoimpl o
6、neexamresultdaoirnpl) public medicallnfoformbean getonemedicallnfoformbean() returnonemedicallnfoformbean; this.oneexamresultdaoirnpl = oneexamresultdaoirnpl;public void setonemedicallnfoformbean(medicallnfoformbean onemedicallnfoformbean) public medicallnfoaction() public string doaddmedicallnfo()
7、list<oldresultpo> oldpersonresultlist = null; publiclist<oldresultpo> getoldpersonresultlist() public voidsetoldpersonresultlistflist<oldresultpo> oldpersonresultlist) public string doquerymedicallnfo() oldpersonresultlist = oneexamresultdaoimpl.selectoldexa
8、mresult(onemedicallnfoformbean.getfilenumber(); public string goquerymedicallnfo() 杨教授大学堂,版权所有,盗版必究。2/6页this.onemedicallnfoformbean 二 onemedicallnfoformbean; return this.success; return oldpersonresultlist; this.oldpersonresultlist = oldpersonresultlist; return "goshowqueryresuitlnfo" retu
9、rn "goquerymedicallnfo"杨教授大学堂精心创作的优秀程序员职业提升必读系列资料 public string gostatistmedicallnfo() public string goprintmedicallnfo() return "goprintmedicallnfo" return "gostatistmedicallnfo"3、在struts.xml文件中添加返回结果的配置定义& lt;actio n n ame ="medicall nfoacti on”class ="m
10、edicallnfoactionbean" ><result n ame="success,>/medicall nf/in dex.jsp</result>& lt;resultn ame="goquerymedicall nfo”>/medicallnf/querymeclicall nfo.jsp</result>& lt;resultname=',gostatistmedicallnfo">/med
11、icallnf/statistmedicallnfo</result>& lt;resultname="gopri ntl?ledicallnfo">/meclicallnf/printmedicall nfo.jsp</result&g t;<result n ame="goshowqueryresultl nfo”>/medicall nf/queryh/ledicall nfo.jsp</result>& lt;/actio
12、n >4、设计查询页面<% page pageencoding="gb2312" iselignored="false"%><% taglib prefix = "s" uri=7struts-tagsh %>⁢!doctype html public ”/w3c/dtd html 4.01transitional/en">& lt;html>& lt;head><tit
13、le>;社区医疗信息管理系统查询检查结果信息页面</title>& lt;/head>& lt;body ><jsp:include page="/commonpage/pagehead.jsp" /><jsp:include page="/commonpage/navmenubar.jsp" />& lt;br/><br/><br/>&a
14、mp;lt;div id=,centerpaget,><form onsubmit=hreturn enableshowresulttable();h杨教授大学堂,版权所有,盗版必究。 3/6页杨教授大学堂精心创作的优秀程序员职业提升必读系列资料actio n 二"$pagecontext.request.c on textpath/medicallnfoactio n!doquerymedi callnfo.action" method="post"><table border二t align=&
15、quot;center"><tr><tdwidth=h145">;输入查询的档案号:</td> <td width=n140n>;<input type="text" name=honemedicallnfoformbean.filenumber" id=hfilenumber,7></td ></tr> <tr>
16、 <td colspan="2" align="center"><input type="submit" value="查询” /><input type="reset" value二"重置” /></td></tr> </table> </form><table border="
17、;lualign="center" > <tr><td>档案号</td><td>检查日期</td><td>身高</td><td>保健指导 </td ><td>血压</td><td>心 电图</td >&
18、amp;lt;td>b 超</td><td>胸部 x 片</td><td>血糖& lt;/td ><td>血脂</td> & lt;/tr><s:iterator value=noldpersonresultlist" id="oneoldresultpo"> <tr><t
19、d><s:propertyvalue="#oneoldresultpo.fileld" /></td> <td><s:property value=,#oneoldresultpo.checktime,' /></td><td><s:property value="#oneoldresultpo.height" /></td&
20、amp;gt; <td><s:property value="#oneoldresultpo.health_guide" /></td> <td><s:property value=n#oneoldresultpo.blood_pressure" /></td><td><s:property value二”#oneoldresultpo.ecg” /></td>杨教授大学堂,版权所有,盗版必究。4/6页杨教授大学堂精心创作的优秀程序员职业提升必读系列资料<td><s:property value="#oneoldresultpo.bn /></td> <td><s:property value=&qu
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年南宁上林县林业局公开招聘编外林业技术人员备考题库及一套答案详解
- 2026年外交学院后勤办公室非事业编制工作人员招聘备考题库带答案详解
- 2026年安庆市桐城师范高等专科学校公开招聘工作人员8人备考题库及一套答案详解
- 2026年南宁市第五十四中学秋季学期招聘备考题库及参考答案详解
- 91民法考试题及答案
- 原画设计就业前景分析
- 领导官方沟通话术
- 2025年医疗招聘结构化面试备考模拟试题(附答案)
- 2026年商丘市柘城县消防救援大队政府专职消防员招录备考题库及答案详解参考
- 2026年凯盛重工有限公司招聘备考题库及答案详解参考
- 2025年河南体育学院马克思主义基本原理概论期末考试笔试题库
- 2026年中国铁路上海局集团有限公司招聘普通高校毕业生1236人备考题库及答案详解1套
- 2026年上海市普陀区社区工作者公开招聘备考题库附答案
- 买房分手协议书范本
- 门窗安装专项施工方案
- 招聘及面试技巧培训
- 贵州兴义电力发展有限公司2026年校园招聘考试题库附答案
- 2025年水果连锁门店代理合同协议
- 耐克加盟协议书
- 朱棣课件教学课件
- 农业推广计划课件
评论
0/150
提交评论