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()