修改移动查房查询数据接口

master
zengwh 3 years ago
parent af74cac639
commit e2ec13e786

@ -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);
}
/**

@ -167,7 +167,11 @@
and m.LockInfo = #{lockinfo,jdbcType=NVARCHAR}
</if>
<if test="doctorInCharge != null and doctorInCharge != ''">
and m.DOCTOR_IN_CHARGE in (${doctorInCharge})
and m.DOCTOR_IN_CHARGE in (
<foreach collection="doctorInCharge.split(',')" item="item" separator=",">
#{item}
</foreach>
)
</if>
<if test="dischargeDisposition != null">
and m.DISCHARGE_DISPOSITION = #{dischargeDisposition,jdbcType=NVARCHAR}

@ -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',

Loading…
Cancel
Save