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

超期未上报导出bug修改

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

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

@@ -831,7 +831,7 @@ END) as projectScale*/
 			<choose>
 				<when test="emergencyProject != null and emergencyProject != '' and emergencyProject == 1">
 					/*B类紧急*/
-					and a.emergency_project = 1 and (timestampdiff(day,prd.audit_pass_date,now()) &lt;#{endingCount} or prd.audit_pass_date is null)
+					/*and a.emergency_project = 1*/ and (timestampdiff(day,prd.audit_pass_date,now()) &lt;#{endingCount} or prd.audit_pass_date is null)
 				</when>
 				<otherwise>
 					and prdt.status = 5 and prdt.audit_pass_date is not null and (timestampdiff(day,prdt.audit_pass_date,now())&lt;#{endingCount} or prdt.audit_pass_date is null)
@@ -867,7 +867,7 @@ END) as projectScale*/
 			<choose>
 				<when test="emergencyProject != null and emergencyProject != '' and emergencyProject == 1">
 					/*B类紧急*/
-					and a.emergency_project = 1 and timestampdiff(day,prd.audit_pass_date,prr.record_date) &lt; #{endingCount}
+					/*and a.emergency_project = 1*/ and timestampdiff(day,prd.audit_pass_date,prr.record_date) &lt; #{endingCount}
 				</when>
 				<otherwise>
 					and prdt.status = 5 and prdt.audit_pass_date is not null and timestampdiff(day,prdt.audit_pass_date,prr.record_date) &lt; #{endingCount}
@@ -901,7 +901,7 @@ END) as projectScale*/
 			<choose>
 				<when test="emergencyProject != null and emergencyProject != '' and emergencyProject == 1">
 				/*B类紧急*/
-					and a.emergency_project = 1 and timestampdiff(day,prd.audit_pass_date,now())>=#{endingCount}
+					/*and a.emergency_project = 1*/ and timestampdiff(day,prd.audit_pass_date,now())>=#{endingCount}
 				</when>
 				<otherwise>
 					and prdt.status = 5 and prdt.audit_pass_date is not null and timestampdiff(day,prdt.audit_pass_date,now())>=#{endingCount}
@@ -942,7 +942,7 @@ END) as projectScale*/
 			<choose>
 				<when test="emergencyProject != null and emergencyProject != '' and emergencyProject == 1">
 				/*B类紧急*/
-					and a.emergency_project = 1 and timestampdiff(day,prd.audit_pass_date,prr.record_date)>=#{endingCount}
+					/*and a.emergency_project = 1*/ and timestampdiff(day,prd.audit_pass_date,prr.record_date)>=#{endingCount}
 				</when>
 				<otherwise>
 					and prdt.status = 5 and prdt.audit_pass_date is not null and timestampdiff(day,prdt.audit_pass_date,prr.record_date)>=#{endingCount}
@@ -998,7 +998,7 @@ END) as projectScale*/
 			<choose>
 				<when test="emergencyProject != null and emergencyProject != '' and emergencyProject == 1">
 					/*B类紧急*/
-					and a.emergency_project = 1 and (timestampdiff(day,prd.audit_pass_date,now()) &lt;#{endingCount} or prd.audit_pass_date is null)
+					/*and a.emergency_project = 1*/ and (timestampdiff(day,prd.audit_pass_date,now()) &lt;#{endingCount} or prd.audit_pass_date is null)
 				</when>
 				<otherwise>
 					and prdt.status = 5 and prdt.audit_pass_date is not null and (timestampdiff(day,prdt.audit_pass_date,now())&lt;#{endingCount} or prdt.audit_pass_date is null)
@@ -1036,7 +1036,7 @@ END) as projectScale*/
 			<choose>
 				<when test="emergencyProject != null and emergencyProject != '' and emergencyProject == 1">
 					/*B类紧急*/
-					and a.emergency_project = 1 and timestampdiff(day,prd.audit_pass_date,(select create_date from work_activity_process wap where wap.process_instance_id = rprr.process_instance_id
+					/*and a.emergency_project = 1*/ and timestampdiff(day,prd.audit_pass_date,(select create_date from work_activity_process wap where wap.process_instance_id = rprr.process_instance_id
 					order by create_date
 					limit 1))&lt;#{endingCount}
 				</when>
@@ -1125,7 +1125,7 @@ END) as projectScale*/
 			<choose>
 				<when test="emergencyProject != null and emergencyProject != '' and emergencyProject == 1">
 					/*B类紧急*/
-					and a.emergency_project = 1 and timestampdiff(day,prd.audit_pass_date,(select create_date from work_activity_process wap where wap.process_instance_id = rprr.process_instance_id
+					/*and a.emergency_project = 1*/ and timestampdiff(day,prd.audit_pass_date,(select create_date from work_activity_process wap where wap.process_instance_id = rprr.process_instance_id
 					order by create_date
 					limit 1))>=#{endingCount}
 				</when>
@@ -1178,7 +1178,7 @@ END) as projectScale*/
 			<choose>
 				<when test="emergencyProject != null and emergencyProject != '' and emergencyProject == 1">
 					/*B类紧急*/
-					and a.emergency_project = 1 and timestampdiff(day,prd.audit_pass_date,(select create_date from work_activity_process wap where wap.process_instance_id = rprr.process_instance_id
+					/*and a.emergency_project = 1*/ and timestampdiff(day,prd.audit_pass_date,(select create_date from work_activity_process wap where wap.process_instance_id = rprr.process_instance_id
 					order by create_date
 					limit 1))>=#{endingCount}
 				</when>