From 5e7a073b38cfef640fd581e70d396e6cf35dc685 Mon Sep 17 00:00:00 2001 From: hujl Date: Mon, 10 Jan 2022 15:44:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AC=E5=9B=9E=E6=97=A5=E5=BF=97=EF=BC=9A?= =?UTF-8?q?=E4=B8=8D=E5=8F=AF=E6=9F=A5=E5=87=BA=E5=B7=B2=E5=B0=81=E5=AD=98?= =?UTF-8?q?=EF=BC=8C=E4=B8=94=E4=BC=98=E5=8C=96=E6=9F=A5=E8=AF=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/Emr_LogMapper.xml | 18 +++++-- .../medicalRecallDateDir/recallDateList.jsp | 52 +++++++++++++------ 2 files changed, 50 insertions(+), 20 deletions(-) diff --git a/src/main/resources/mapper/Emr_LogMapper.xml b/src/main/resources/mapper/Emr_LogMapper.xml index d848e9e9..c9a2f326 100644 --- a/src/main/resources/mapper/Emr_LogMapper.xml +++ b/src/main/resources/mapper/Emr_LogMapper.xml @@ -181,12 +181,20 @@ and m.name like '%'+#{name,jdbcType=NCHAR}+'%' - - and m.ArchiveState=#{archivestate,jdbcType=NCHAR} - - - and f.state=#{state,jdbcType=NCHAR} + + and m.ArchiveState in + + #{item} + + + + and f.state=#{state,jdbcType=NCHAR} + + + AND (f.state='未召回' or f.state is null) + + and m.ID_NO like '%'+#{idNo,jdbcType=NCHAR}+'%' diff --git a/src/main/webapp/WEB-INF/views/medicalRecallDateDir/recallDateList.jsp b/src/main/webapp/WEB-INF/views/medicalRecallDateDir/recallDateList.jsp index 6ea949a5..c8050767 100644 --- a/src/main/webapp/WEB-INF/views/medicalRecallDateDir/recallDateList.jsp +++ b/src/main/webapp/WEB-INF/views/medicalRecallDateDir/recallDateList.jsp @@ -82,10 +82,23 @@
- - + <%––%> + + + + + + + + --%> +
- -
- -
- - - - -
-
--%>
-
+
- + <%-- --%>
+
+ +
+ + - + +
+
+ @@ -278,6 +292,14 @@ this.pageSize = currPageSize; } + var archivestate=""; + if($("#archivestate").val()!=null && $("#archivestate").val()!=""){ + archivestate="" + $("#archivestate").val(); + } + /*else{ + archivestate="已归档,已认证,初审"; + }*/ + var temp = { limit: limit, //页面大小 offset: offset, //页码 @@ -287,7 +309,7 @@ visitId: "" + $("#visitId").val(), name: "" + $("#name").val(), creater:"" + $("#creater").val(), - archivestate: "" + $("#archivestate").val(), + archivestate: archivestate, state: "" + $("#state").val(), startDate: $("#startDate").val(), endDate: $("#endDate").val()