diff --git a/src/main/java/com/emr/controller/FontController.java b/src/main/java/com/emr/controller/FontController.java
index 18c07f9..f0d30a8 100644
--- a/src/main/java/com/emr/controller/FontController.java
+++ b/src/main/java/com/emr/controller/FontController.java
@@ -750,14 +750,8 @@ public class FontController {
*/
@RequestMapping(value = "getMaster")
@ResponseBody
- public OffsetLimitPage getMaster(Archive_Master_Vo archiveMasterVo, Integer offset, Integer limit, HttpServletRequest request) throws Exception {
- //如果前端主管医生字段有选全部选项,则查全部数据
- String[] doctorInCharge = archiveMasterVo.getDoctorInCharge().split(",");
- int i = doctorInCharge.length;
- if (doctorInCharge.length > 1 && StringUtils.isBlank(doctorInCharge[0]) && StringUtils.isNotBlank(doctorInCharge[1])) {
- archiveMasterVo.setDoctorInCharge("");
- }
- return archiveMasterService.selectMasterByColumn(archiveMasterVo, offset, limit, request);
+ public OffsetLimitPage getMaster(Archive_Master_Vo archiveMasterVo, Integer offset, Integer limit) throws Exception {
+ return archiveMasterService.selectByCol(archiveMasterVo, offset, limit);
}
/**
diff --git a/src/main/resources/mapper/Archive_MasterMapper.xml b/src/main/resources/mapper/Archive_MasterMapper.xml
index a052abb..6faf1dd 100644
--- a/src/main/resources/mapper/Archive_MasterMapper.xml
+++ b/src/main/resources/mapper/Archive_MasterMapper.xml
@@ -167,7 +167,11 @@
and m.LockInfo = #{lockinfo,jdbcType=NVARCHAR}
- and m.DOCTOR_IN_CHARGE in (${doctorInCharge})
+ and m.DOCTOR_IN_CHARGE in (
+
+ #{item}
+
+ )
and m.DISCHARGE_DISPOSITION = #{dischargeDisposition,jdbcType=NVARCHAR}
diff --git a/src/main/webapp/static/js/record/recordPage.js b/src/main/webapp/static/js/record/recordPage.js
index e0627a9..deb5de0 100644
--- a/src/main/webapp/static/js/record/recordPage.js
+++ b/src/main/webapp/static/js/record/recordPage.js
@@ -62,11 +62,10 @@ function initTable() {
offset: offset, //页码
inpNo: "" + $("#inpNo").val(),
visitId: "" + $("#visitId").val(),
- userName: "" + $("#name").val(),
- startDateTo: $("#startDateTo").val(),
- endDateTo: $("#endDateTo").val(),
- startDate: $("#startDate").val(),
- endDate: $("#endDate").val(),
+ name: "" + $("#name").val(),
+ deptAdmissionTo: getDeptNameForQuery(),
+ startDateTo: $("#startDate").val(),
+ endDateTo: $("#endDate").val(),
doctorInCharge: doctorInCharge,
};
return temp;
@@ -110,6 +109,12 @@ function initTable() {
field: 'doctorInCharge',
align: 'left'
},
+ {
+ title: '当前科室',
+ field: 'deptName',
+ align: 'left',
+ valign: 'middle',
+ },
{
title: '入院时间',
field: 'admissionDateTime',