[user3] 3 лет назад
Родитель
Сommit
69bcbad975

+ 4 - 4
src/main/resources/mappings/modules/ruralprojectrecords/RuralProjectRecordsDao.xml

@@ -2657,10 +2657,10 @@
 				and a.record_state = 7
 				and a.over_record_status = 1
 				and a.office_id in(select id  from sys_office where id = #{statementCompanyComprehensiveInfo.officeId} or parent_ids like concat('%',#{statementCompanyComprehensiveInfo.officeId},'%'))
-				and rprr.status = 5
-				and rprr.del_flag = 0
-				and rprr.accomplish_date >= #{beginDate}
-				and rprr.accomplish_date <= #{endDate}
+				and prr.status = 5
+				and prr.del_flag = 0
+				and prr.accomplish_date >= #{beginDate}
+				and prr.accomplish_date <= #{endDate}
 			</if>
 			<if test="statementCompanyComprehensiveInfo.field7 != null and statementCompanyComprehensiveInfo.field7 != ''">
 				and a.reported_state = 6