打印和扫描明细页面各加住院号和患者姓名两个搜索条件

master
zengwh 5 years ago
parent 7af5ab4a75
commit c862c23fe0

@ -23,5 +23,9 @@ public class TUuPrintSearch {
private String name;
private String sql;
private String hzname;
private String inpNo;
}

@ -188,6 +188,12 @@
${sql}
</when>
<otherwise>
<if test="hzname != null and hzname != ''">
AND hzName LIKE '%${hzname}%'
</if>
<if test="inpNo != null and inpNo != ''">
AND inp_no LIKE '%${inpNo}%'
</if>
<if test="name != null and name != ''">
AND uuName LIKE '%${name}%'
</if>

@ -180,6 +180,12 @@
${sql}
</when>
<otherwise>
<if test="hzname != null and hzname != ''">
AND hzName LIKE '%${hzname}%'
</if>
<if test="inpNo != null and inpNo != ''">
AND inp_no LIKE '%${inpNo}%'
</if>
<if test="name != null and name != ''">
AND cpyUser LIKE '%${name}%'
</if>

@ -329,7 +329,7 @@
</div>
<footer class="main-footer">
<div class="pull-right hidden-xs">
<b>Version</b> 20201225
<b>Version</b> 20201229
</div>
<strong>Copyright &copy; 2019-2090 厦门嘉时软件.</strong> All rights
reserved.

@ -29,7 +29,7 @@
</head>
<body>
<div style="margin-left:30px;margin-right:10px;height:auto">
<div style="margin-left:10px;margin-right:10px;height:auto">
<!--搜索-->
<form style="margin-top:20px;">
<div class="form-inline">
@ -45,6 +45,14 @@
<label>操作人:</label>
<input type="text" class="form-control input-sm" id="name">
</div>
<div class="form-group divCss8">
<label>住院号:</label>
<input type="text" class="form-control input-sm" id="inpNo">
</div>
<div class="form-group divCss8">
<label>患者姓名:</label>
<input type="text" class="form-control input-sm" id="hzname">
</div>
<button type="button" class="btn btn-primary btn-sm divCss" id="searchBtn">查询</button>
<button type="button" class="btn btn-info btn-sm divCss" id="excelBtn">条件导出</button>
</div>
@ -68,7 +76,7 @@
</div>
</div>
</div>
<script src="${path}/static/js/statistics/printInfo.js"></script>
<script src="${path}/static/js/statistics/printInfo.js?t=2020-12-29"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js"></script>
</body>
</html>

@ -29,7 +29,7 @@
</head>
<body>
<div style="margin-left:30px;margin-right:10px;height:auto">
<div style="margin-left:10px;margin-right:10px;height:auto">
<!--搜索-->
<form style="margin-top:20px;">
<div class="form-inline">
@ -45,6 +45,14 @@
<label>扫描人:</label>
<input type="text" class="form-control input-sm" id="name">
</div>
<div class="form-group divCss8">
<label>住院号:</label>
<input type="text" class="form-control input-sm" id="inpNo">
</div>
<div class="form-group divCss8">
<label>患者姓名:</label>
<input type="text" class="form-control input-sm" id="hzname">
</div>
<button type="button" class="btn btn-primary btn-sm divCss" id="searchBtn">查询</button>
<button type="button" class="btn btn-info btn-sm divCss" id="excelBtn">条件导出</button>
</div>
@ -68,7 +76,7 @@
</div>
</div>
</div>
<script src="${path}/static/js/statistics/scanInfo.js"></script>
<script src="${path}/static/js/statistics/scanInfo.js?t=2020-12-29"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js"></script>
</body>
</html>

@ -56,7 +56,9 @@ function initTable() {
offset: offset, //页码
startDate: $("#startTime1").val(),
endDate: $("#endTime1").val(),
name:$("#name").val()
name:$("#name").val(),
inpNo:$("#inpNo").val(),
hzname:$("#hzname").val()
};
return temp;
},
@ -182,6 +184,8 @@ $("#excelBtn").click(function () {
"startDate": $("#startTime1").val(),
"endDate": $("#endTime1").val(),
"name":$("#name").val(),
"inpNo":$("#inpNo").val(),
"hzname":$("#hzname").val(),
"sql":sql
});
});

@ -56,7 +56,9 @@ function initTable() {
offset: offset, //页码
startDate: $("#startTime1").val(),
endDate: $("#endTime1").val(),
name:$("#name").val()
name:$("#name").val(),
inpNo:$("#inpNo").val(),
hzname:$("#hzname").val()
};
return temp;
},
@ -170,6 +172,8 @@ $("#excelBtn").click(function () {
"startDate": $("#startTime1").val(),
"endDate": $("#endTime1").val(),
"name":$("#name").val(),
"inpNo":$("#inpNo").val(),
"hzname":$("#hzname").val(),
"sql":sql
});
});
Loading…
Cancel
Save