|
@@ -73,7 +73,8 @@
|
|
cw_prs2.proc_ins_id as proc_ins_id2,
|
|
cw_prs2.proc_ins_id as proc_ins_id2,
|
|
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 as reportNo
|
|
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
|
|
@@ -81,6 +82,7 @@
|
|
LEFT JOIN sys_user e on b.project_master_id = e.id
|
|
LEFT JOIN sys_user e on b.project_master_id = e.id
|
|
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
|
|
${ew.customSqlSegment}
|
|
${ew.customSqlSegment}
|
|
</select>
|
|
</select>
|
|
<select id="queryById" resultType="com.jeeplus.test.cw.projectReport.domain.CwProjectReportData">
|
|
<select id="queryById" resultType="com.jeeplus.test.cw.projectReport.domain.CwProjectReportData">
|