|
@@ -3506,6 +3506,26 @@
|
|
and rprr.accomplish_date <= #{endDate}
|
|
and rprr.accomplish_date <= #{endDate}
|
|
</if>
|
|
</if>
|
|
|
|
|
|
|
|
+ <if test="statementCompanyComprehensiveInfo.field13 == '5'.toString() ">
|
|
|
|
+ and a.submit_money = 2
|
|
|
|
+ and a.paper_filing_status != 7
|
|
|
|
+ AND a.paper_filing_status != '10'
|
|
|
|
+ AND a.paper_filing_status != '11'
|
|
|
|
+ and a.over_paper_filing_status = 1
|
|
|
|
+ and a.office_id in(select id from sys_office where id = #{statementCompanyComprehensiveInfo.officeId} or parent_ids like concat('%',#{statementCompanyComprehensiveInfo.officeId},'%'))
|
|
|
|
+ and pmdr.id is null
|
|
|
|
+ </if>
|
|
|
|
+ <if test="statementCompanyComprehensiveInfo.field14 == '5'.toString() ">
|
|
|
|
+ and a.submit_money = 2
|
|
|
|
+ and a.paper_filing_status = 7
|
|
|
|
+ and a.office_id in(select id from sys_office where id = #{statementCompanyComprehensiveInfo.officeId} or parent_ids like concat('%',#{statementCompanyComprehensiveInfo.officeId},'%'))
|
|
|
|
+ and ppf.status = 7
|
|
|
|
+ and ppf.del_flag = 0
|
|
|
|
+ and ppf.audit_pass_date >= #{beginDate}
|
|
|
|
+ and ppf.audit_pass_date <= #{endDate}
|
|
|
|
+ and pmdr.id is null
|
|
|
|
+ </if>
|
|
|
|
+
|
|
<if test="ruralProjectRecords.projectId != null and ruralProjectRecords.projectId != ''">
|
|
<if test="ruralProjectRecords.projectId != null and ruralProjectRecords.projectId != ''">
|
|
AND a.project_id like concat('%',#{ruralProjectRecords.projectId},'%')
|
|
AND a.project_id like concat('%',#{ruralProjectRecords.projectId},'%')
|
|
</if>
|
|
</if>
|
|
@@ -3730,6 +3750,25 @@
|
|
and rprr.accomplish_date >= #{beginDate}
|
|
and rprr.accomplish_date >= #{beginDate}
|
|
and rprr.accomplish_date <= #{endDate}
|
|
and rprr.accomplish_date <= #{endDate}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="statementCompanyComprehensiveInfo.field13 == '5'.toString() ">
|
|
|
|
+ and a.submit_money = 2
|
|
|
|
+ and a.paper_filing_status != 7
|
|
|
|
+ AND a.paper_filing_status != '10'
|
|
|
|
+ AND a.paper_filing_status != '11'
|
|
|
|
+ and a.over_paper_filing_status = 1
|
|
|
|
+ and a.office_id in(select id from sys_office where id = #{statementCompanyComprehensiveInfo.officeId} or parent_ids like concat('%',#{statementCompanyComprehensiveInfo.officeId},'%'))
|
|
|
|
+ and pmdr.id is null
|
|
|
|
+ </if>
|
|
|
|
+ <if test="statementCompanyComprehensiveInfo.field14 == '5'.toString() ">
|
|
|
|
+ and a.submit_money = 2
|
|
|
|
+ and a.paper_filing_status = 7
|
|
|
|
+ and a.office_id in(select id from sys_office where id = #{statementCompanyComprehensiveInfo.officeId} or parent_ids like concat('%',#{statementCompanyComprehensiveInfo.officeId},'%'))
|
|
|
|
+ and ppf.status = 7
|
|
|
|
+ and ppf.del_flag = 0
|
|
|
|
+ and ppf.audit_pass_date >= #{beginDate}
|
|
|
|
+ and ppf.audit_pass_date <= #{endDate}
|
|
|
|
+ and pmdr.id is null
|
|
|
|
+ </if>
|
|
|
|
|
|
<if test="ruralProjectRecords.projectId != null and ruralProjectRecords.projectId != ''">
|
|
<if test="ruralProjectRecords.projectId != null and ruralProjectRecords.projectId != ''">
|
|
AND a.project_id like concat('%',#{ruralProjectRecords.projectId},'%')
|
|
AND a.project_id like concat('%',#{ruralProjectRecords.projectId},'%')
|