|
@@ -622,6 +622,7 @@
|
|
a.create_time,
|
|
a.create_time,
|
|
a.audit_fees,
|
|
a.audit_fees,
|
|
a.invoice_number,
|
|
a.invoice_number,
|
|
|
|
+ a.is_complete_invoice,
|
|
e.name as projectMasterName,
|
|
e.name as projectMasterName,
|
|
cw_prs1.proc_ins_id as proc_ins_id1,
|
|
cw_prs1.proc_ins_id as proc_ins_id1,
|
|
cw_prs1.process_definition_id as process_definition_id1,
|
|
cw_prs1.process_definition_id as process_definition_id1,
|
|
@@ -631,7 +632,8 @@
|
|
cw_prs2.process_definition_id as process_definition_id2,
|
|
cw_prs2.process_definition_id as process_definition_id2,
|
|
cw_prs2.status as status2,
|
|
cw_prs2.status as status2,
|
|
cw_prs2.id as sid2,
|
|
cw_prs2.id as sid2,
|
|
- new_line.report_no
|
|
|
|
|
|
+ new_line.report_no,
|
|
|
|
+ na.review_status as applyStatus
|
|
FROM cw_project_report a
|
|
FROM cw_project_report a
|
|
left join cw_project_records b on a.project_id = b.id
|
|
left join cw_project_records b on a.project_id = b.id
|
|
LEFT JOIN sys_office c on a.office_id = c.id
|
|
LEFT JOIN sys_office c on a.office_id = c.id
|
|
@@ -640,6 +642,7 @@
|
|
LEFT JOIN cw_project_report_signature cw_prs1 on cw_prs1.report_id = a.id and cw_prs1.type = '1' and cw_prs1.del_flag = '0'
|
|
LEFT JOIN cw_project_report_signature cw_prs1 on cw_prs1.report_id = a.id and cw_prs1.type = '1' and cw_prs1.del_flag = '0'
|
|
LEFT JOIN cw_project_report_signature cw_prs2 on cw_prs2.report_id = a.id and cw_prs2.type = '2' and cw_prs2.del_flag = '0'
|
|
LEFT JOIN cw_project_report_signature cw_prs2 on cw_prs2.report_id = a.id and cw_prs2.type = '2' and cw_prs2.del_flag = '0'
|
|
left join cw_project_report_new_line new_line on a.id = new_line.report_id and new_line.del_flag = '0'
|
|
left join cw_project_report_new_line new_line on a.id = new_line.report_id and new_line.del_flag = '0'
|
|
|
|
+ left join cw_project_report_number_apply na on a.id = na.report_id and na.del_flag = '0'
|
|
where a.project_id = #{projectId} and a.del_flag = '0'
|
|
where a.project_id = #{projectId} and a.del_flag = '0'
|
|
</select>
|
|
</select>
|
|
<select id="getContainDelByProjectId" resultType="com.jeeplus.finance.projectReport.domain.CwProjectReportData">
|
|
<select id="getContainDelByProjectId" resultType="com.jeeplus.finance.projectReport.domain.CwProjectReportData">
|