|
@@ -65,7 +65,7 @@
|
|
b.real_header as projectMasterId2,
|
|
b.real_header as projectMasterId2,
|
|
c.name as departmentName,
|
|
c.name as departmentName,
|
|
d.name as userName,
|
|
d.name as userName,
|
|
- a.audit_fees,
|
|
|
|
|
|
+ ifnull(cw_pa.audit_money,"0") as "auditFees",
|
|
e.name as projectMasterName,
|
|
e.name as projectMasterName,
|
|
b.real_header as projectMaster2Id,
|
|
b.real_header as projectMaster2Id,
|
|
f.name as projectMaster2Name,
|
|
f.name as projectMaster2Name,
|
|
@@ -121,6 +121,7 @@
|
|
|
|
|
|
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_review cw_rev on a.id = cw_rev.report_id and cw_rev.del_flag = '0'
|
|
left join cw_project_report_review cw_rev on a.id = cw_rev.report_id and cw_rev.del_flag = '0'
|
|
|
|
+ LEFT JOIN cw_project_report_archive cw_pa on a.id = cw_pa.report_id and cw_pa.del_flag = '0'
|
|
left join act_ru_task art ON cw_rev.proc_ins_id = art.PROC_INST_ID_
|
|
left join act_ru_task art ON cw_rev.proc_ins_id = art.PROC_INST_ID_
|
|
left join cw_project_members cpm on b.id = cpm.project_id
|
|
left join cw_project_members cpm on b.id = cpm.project_id
|
|
left join sys_user sub on cpm.user_id = sub.id
|
|
left join sys_user sub on cpm.user_id = sub.id
|
|
@@ -160,7 +161,7 @@
|
|
c.name as departmentName,
|
|
c.name as departmentName,
|
|
d.name as userName,
|
|
d.name as userName,
|
|
a.create_time,
|
|
a.create_time,
|
|
- a.audit_fees,
|
|
|
|
|
|
+ ifnull(cw_pa.audit_money,"") as "auditFees",
|
|
e.name as projectMasterName,
|
|
e.name as projectMasterName,
|
|
a.real_create,
|
|
a.real_create,
|
|
a.business_type,
|
|
a.business_type,
|
|
@@ -216,6 +217,7 @@
|
|
left join cw_project_report_review cw_re on a.id = cw_re.report_id and cw_re.del_flag = '0'
|
|
left join cw_project_report_review cw_re on a.id = cw_re.report_id and cw_re.del_flag = '0'
|
|
LEFT JOIN cw_project_report_number_apply cw_na on a.id = cw_na.report_id and cw_na.del_flag = '0'
|
|
LEFT JOIN cw_project_report_number_apply cw_na on a.id = cw_na.report_id and cw_na.del_flag = '0'
|
|
LEFT JOIN cw_project_report_number_review_apply cw_nra on a.id = cw_nra.report_id and cw_nra.del_flag = '0'
|
|
LEFT JOIN cw_project_report_number_review_apply cw_nra on a.id = cw_nra.report_id and cw_nra.del_flag = '0'
|
|
|
|
+ LEFT JOIN cw_project_report_archive cw_pa on a.id = cw_pa.report_id and cw_pa.del_flag = '0'
|
|
where a.id = #{id}
|
|
where a.id = #{id}
|
|
</select>
|
|
</select>
|
|
<select id="queryContainDelById" resultType="com.jeeplus.finance.projectReport.domain.CwProjectReportData">
|
|
<select id="queryContainDelById" resultType="com.jeeplus.finance.projectReport.domain.CwProjectReportData">
|
|
@@ -757,6 +759,9 @@
|
|
<if test="reportName != null and reportName != ''">
|
|
<if test="reportName != null and reportName != ''">
|
|
report_name = #{reportName},
|
|
report_name = #{reportName},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="realCreate != null and realCreate != ''">
|
|
|
|
+ real_create = #{realCreate},
|
|
|
|
+ </if>
|
|
<if test="tenantId != null and tenantId != ''">
|
|
<if test="tenantId != null and tenantId != ''">
|
|
tenant_id = #{tenantId},
|
|
tenant_id = #{tenantId},
|
|
</if>
|
|
</if>
|