东北大学web课设作业,
使用SSM框架实现,包含了所有功能,得分90+,spring、springmvc、MyBatis
使用SSM框架实现,包含了所有功能,得分90+,spring、springmvc、MyBatis
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1774 2019-09-22 16:55 his.classpath
文件 378 2015-08-30 18:59 his.gitattributes
文件 574 2015-08-30 18:59 his.gitignore
文件 1170 2019-09-22 19:59 his.project
文件 562 2015-08-30 18:59 his.settings.jsdtscope
文件 402 2019-09-22 17:21 his.settingsorg.eclipse.core.resources.prefs
文件 7812 2019-07-24 11:02 his.settingsorg.eclipse.jdt.core.prefs
文件 86 2015-08-30 18:59 his.settingsorg.eclipse.m2e.core.prefs
文件 815 2019-07-24 00:11 his.settingsorg.eclipse.wst.common.component
文件 321 2019-07-23 23:57 his.settingsorg.eclipse.wst.common.project.facet.core.prefs.xml
文件 346 2019-07-24 09:35 his.settingsorg.eclipse.wst.common.project.facet.core.xml
文件 641 2019-07-24 11:02 his.settingsorg.eclipse.wst.jsdt.core.prefs
文件 49 2015-08-30 18:59 his.settingsorg.eclipse.wst.jsdt.ui.superType.container
文件 6 2015-08-30 18:59 his.settingsorg.eclipse.wst.jsdt.ui.superType.name
文件 473 2019-07-24 11:02 his.settingsorg.eclipse.wst.validation.prefs
文件 459 2019-08-05 15:29 his.settingsorg.eclipse.wst.xml.core.prefs
文件 713 2019-07-25 11:32 hislogsgeneratorConfig.xml
文件 35255 2019-07-24 09:59 hislogsssm.log
文件 7107 2019-08-05 14:44 hispom.xml
文件 133 2015-08-30 18:59 hisREADME.md
文件 3696 2019-09-21 22:26 hissrcmainjavacomjavencontrollerDoctorRecordController.java
文件 3159 2019-09-20 21:55 hissrcmainjavacomjavencontrollerGuahaoController.java
文件 4621 2019-09-22 00:28 hissrcmainjavacomjavencontrollerHomepageController.java
文件 1867 2019-09-16 23:25 hissrcmainjavacomjavencontrollerLoginController.java
文件 484 2019-08-19 21:00 hissrcmainjavacomjavendaodepartmentMapper.java
文件 548 2019-08-25 11:35 hissrcmainjavacomjavendaodoctorMapper.java
文件 425 2019-08-24 17:23 hissrcmainjavacomjavendaodrugMapper.java
文件 380 2019-09-16 11:44 hissrcmainjavacomjavendaoinvoiceMapper.java
文件 432 2019-08-30 10:56 hissrcmainjavacomjavendaomedicalrecordMapper.java
文件 450 2019-08-30 10:20 hissrcmainjavacomjavendaopatientMapper.java
............此处省略1554个文件信息
package com.javen.controller;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.javen.model.drug;
import com.javen.model.medicalrecord;
import com.javen.model.prescription;
import com.javen.model.template;
import com.javen.model.templatedetail;
import com.javen.service.IDiagnosisService;
@Controller
@RequestMapping(value=“/his/DoctorVisit“)
public class DoctorRecordController {
@Resource
@Autowired
private IDiagnosisService diagnosisService;
//提交看诊信息
@RequestMapping(value=“/kanzhen“)
@ResponseBody
public Map Commit(@RequestBody medicalrecord amedicalrecord) {
Map map = new HashMap();
int result =this.diagnosisService.AddResult(amedicalrecord);
if(result==1) {
map.put(“result“ “success“);
}else {
map.put(“result“ “fail“);
}
//更改就诊状态
this.diagnosisService.updatestaus(amedicalrecord.getRegistrationid());
return map;
}
//获取看诊信息
@RequestMapping(value=“/Record/{medicalrecordid}“)
@ResponseBody
public medicalrecord Record(@PathVariable String medicalrecordid) {
medicalrecord aMedicalrecord = this.diagnosisService.getRecord(medicalrecordid);
return aMedicalrecord;
}
//获取模板名称
@RequestMapping(value=“/template/{templatename}“)
@ResponseBody
public List templatename(@PathVariable String templatename) {
List templates =this.diagnosisService.geTemplates(templatename);
return templates;
}
//获取模板细节
@RequestMapping(value=“/templatedetail/{idtemplate}“)
@ResponseBody
public List templatedetail(@PathVariable String idtemplate) {
return this.diagnosisService.geTemplatedetails(Integer.parseInt(idtemplate));
}
//得到药品
@RequestMapping(value=“/drugs“)
@ResponseBody
public List templatedetail() {
List drugs =this.diagnosisService.getDrugs();
return drugs;
}
//加药
@RequestMapping(value=“/adddrugs/{drugs}“)
@ResponseBody
public drug getdrugsbyid(@PathVariable String drugs) {
System.out.println(drugs);
drug aDrug =this.diagnosisService.getdrugbyid(Integer.parseInt(drugs));
System.out.println(aDrug.getDrugname());
return aDrug;
}
//添加处方
@RequestMapping(value=“/addprescription“)
@ResponseBody
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1774 2019-09-22 16:55 his.classpath
文件 378 2015-08-30 18:59 his.gitattributes
文件 574 2015-08-30 18:59 his.gitignore
文件 1170 2019-09-22 19:59 his.project
文件 562 2015-08-30 18:59 his.settings.jsdtscope
文件 402 2019-09-22 17:21 his.settingsorg.eclipse.core.resources.prefs
文件 7812 2019-07-24 11:02 his.settingsorg.eclipse.jdt.core.prefs
文件 86 2015-08-30 18:59 his.settingsorg.eclipse.m2e.core.prefs
文件 815 2019-07-24 00:11 his.settingsorg.eclipse.wst.common.component
文件 321 2019-07-23 23:57 his.settingsorg.eclipse.wst.common.project.facet.core.prefs.xm
文件 346 2019-07-24 09:35 his.settingsorg.eclipse.wst.common.project.facet.core.xm
文件 641 2019-07-24 11:02 his.settingsorg.eclipse.wst.jsdt.core.prefs
文件 49 2015-08-30 18:59 his.settingsorg.eclipse.wst.jsdt.ui.superType.container
文件 6 2015-08-30 18:59 his.settingsorg.eclipse.wst.jsdt.ui.superType.name
文件 473 2019-07-24 11:02 his.settingsorg.eclipse.wst.validation.prefs
文件 459 2019-08-05 15:29 his.settingsorg.eclipse.wst.xm
文件 713 2019-07-25 11:32 hislogsgeneratorConfig.xm
文件 35255 2019-07-24 09:59 hislogsssm.log
文件 7107 2019-08-05 14:44 hispom.xm
文件 133 2015-08-30 18:59 hisREADME.md
文件 3696 2019-09-21 22:26 hissrcmainjavacomjavencontrollerDoctorRecordController.java
文件 3159 2019-09-20 21:55 hissrcmainjavacomjavencontrollerGuahaoController.java
文件 4621 2019-09-22 00:28 hissrcmainjavacomjavencontrollerHomepageController.java
文件 1867 2019-09-16 23:25 hissrcmainjavacomjavencontrollerLoginController.java
文件 484 2019-08-19 21:00 hissrcmainjavacomjavendaodepartmentMapper.java
文件 548 2019-08-25 11:35 hissrcmainjavacomjavendaodoctorMapper.java
文件 425 2019-08-24 17:23 hissrcmainjavacomjavendaodrugMapper.java
文件 380 2019-09-16 11:44 hissrcmainjavacomjavendaoinvoiceMapper.java
文件 432 2019-08-30 10:56 hissrcmainjavacomjavendaomedicalrecordMapper.java
文件 450 2019-08-30 10:20 hissrcmainjavacomjavendaopatientMapper.java
............此处省略1554个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)