Forráskód Böngészése

纸质归档筛选功能优化

user5 2 éve
szülő
commit
0131c378ee

+ 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">