Преглед на файлове

纸质归档筛选功能优化

user5 преди 2 години
родител
ревизия
0131c378ee
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      src/main/resources/mappings/modules/ruralprojectrecords/RuralProjectMessageAllDao.xml

+ 3 - 0
src/main/resources/mappings/modules/ruralprojectrecords/RuralProjectMessageAllDao.xml

@@ -597,6 +597,7 @@ END) as projectScale*/
 			</if>
 			<if test="paperRecordBeginDate !=null or paperRecordBeginDate !=null">
 				AND (ppf.status in (5,7) or pfp.status in (5,7))
+				and (a.paper_filing_status != 10 or a.paper_filing_status is null)
 			</if>
 			<!-- 上报审核时间 -->
 			<if test="reportedBeginDate !=null">
@@ -1051,6 +1052,7 @@ END) as projectScale*/
 			</if>
 			<if test="paperRecordBeginDate !=null or paperRecordBeginDate !=null">
 				AND (ppf.status in (5,7) or pfp.status in (5,7))
+				and (a.paper_filing_status != 10 or a.paper_filing_status is null)
 			</if>
 			<!-- 上报审核时间 -->
 			<if test="reportedBeginDate !=null">
@@ -1446,6 +1448,7 @@ END) as projectScale*/
 			</if>
 			<if test="paperRecordBeginDate !=null or paperRecordBeginDate !=null">
 				AND (ppf.status in (5,7) or pfp.status in (5,7))
+				and (a.paper_filing_status != 10 or a.paper_filing_status is null)
 			</if>
 			<!-- 上报审核时间 -->
 			<if test="reportedBeginDate !=null">