소스 검색

上报导出

[user3] 3 년 전
부모
커밋
aaa00f61cc
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/main/resources/mappings/modules/ruralprojectrecords/RuralProjectMessageAllDao.xml

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

@@ -959,6 +959,7 @@ END) as projectScale*/
 			and prd.status = 5
 			AND  a.status != 7 AND a.del_flag = #{DEL_FLAG_NORMAL}
 			and rprr.report_status is not null
+			and a.reported_state=7
 			<choose>
 				<when test="emergencyProject != null and emergencyProject != '' and emergencyProject == 1">
 					/*B类紧急*/
@@ -1009,7 +1010,8 @@ END) as projectScale*/
 			and prd.status = 5
 			AND  a.status != 7 AND a.del_flag = #{DEL_FLAG_NORMAL}
 			and rprr.report_status is not null
-			and rprr.JingHeJianLv>30
+			and a.reported_state=11
+			AND( rprr.JingHeJianLv > 30 or rprr.JingHeJianLv &lt;=-30)
 			<choose>
 				<when test="emergencyProject != null and emergencyProject != '' and emergencyProject == 1">
 					/*B类紧急*/