diff --git a/src/main/resources/mapper/Archive_MasterMapper.xml b/src/main/resources/mapper/Archive_MasterMapper.xml index 0b9cb3de..41cc91d9 100644 --- a/src/main/resources/mapper/Archive_MasterMapper.xml +++ b/src/main/resources/mapper/Archive_MasterMapper.xml @@ -2210,12 +2210,49 @@ AND name LIKE '%' + #{name} + '%' - - and m.discharge_date_time >= CONVERT(VARCHAR(10),#{startDate,jdbcType=NCHAR},120) - - - and m.discharge_date_time <= #{endDate,jdbcType=NCHAR}+ ' 23:59:59' - + + AND visit_id LIKE '%' + #{visitId} + '%' + + + + + + + + + + and m.discharge_date_time = #{dischargeDateTime,jdbcType=NVARCHAR} + + + + and m.discharge_date_time between CONVERT(VARCHAR(10),#{startDateTo,jdbcType=NCHAR},120) and + #{endDateTo,jdbcType=NCHAR}+ ' 23:59:59' + + + and m.discharge_date_time >= CONVERT(VARCHAR(10),#{startDateTo,jdbcType=NCHAR},120) + + + and m.discharge_date_time <= #{endDateTo,jdbcType=NCHAR}+ ' 23:59:59' + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/webapp/WEB-INF/views/pathological/pathologicalReport.jsp b/src/main/webapp/WEB-INF/views/pathological/pathologicalReport.jsp index 1aab7d39..7760fe01 100644 --- a/src/main/webapp/WEB-INF/views/pathological/pathologicalReport.jsp +++ b/src/main/webapp/WEB-INF/views/pathological/pathologicalReport.jsp @@ -62,25 +62,25 @@ -<%--
--%> -<%-- --%> -<%-- -<%-- maxlength="2">--%> -<%--
--%> +
+ + +
-<%--
--%> -<%-- --%> -<%--
--%> -<%-- -<%-- maxlength="10" autocomplete="off"/>--%> -<%-- ---%> -<%-- -<%-- autocomplete="off"/>--%> -<%--
--%> -<%--
--%> +
+ +
+ + - + +
+
@@ -161,9 +161,12 @@ offset: offset, //页码 order: params.order, //排位命令(desc,asc) inpNo: "" + $("#inpNo").val(), + visitId : "" + $("#visitId").val(), startDate: $("#startDate").val(), endDate: $("#endDate").val(), - name: "" + $("#name").val() + name: "" + $("#name").val(), + startDateTo: $("#startDateTo").val(), + endDateTo: $("#endDateTo").val(), }; return temp; }, @@ -279,7 +282,11 @@ //刷新 $('#table').bootstrapTable('refresh'); }); - + //日期控件 + $(".input-daterange").datepicker({ + format: "yyyy-mm-dd", + language: "zh-CN" + }); \ No newline at end of file