|
@@ -66,7 +66,7 @@
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<select id="findList" resultType="com.jeeplus.finance.projectReport.domain.CwProjectReportData">
|
|
<select id="findList" resultType="com.jeeplus.finance.projectReport.domain.CwProjectReportData">
|
|
|
- SELECT
|
|
|
|
|
|
|
+ SELECT DISTINCT
|
|
|
a.id,
|
|
a.id,
|
|
|
a.create_by_id AS createById,
|
|
a.create_by_id AS createById,
|
|
|
a.create_time,
|
|
a.create_time,
|
|
@@ -165,10 +165,8 @@
|
|
|
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_signature cw_prs3 on cw_prs3.report_id = a.id and cw_prs3.type = '3' and cw_prs3.del_flag = '0'
|
|
LEFT JOIN cw_project_report_signature cw_prs3 on cw_prs3.report_id = a.id and cw_prs3.type = '3' and cw_prs3.del_flag = '0'
|
|
|
- <if test="projectReportData.userName != '樊莉'">
|
|
|
|
|
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
|
|
|
- </if>
|
|
|
|
|
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 act_ru_task artar ON cw_nra.proc_ins_id = artar.PROC_INST_ID_
|
|
LEFT JOIN act_ru_task artar ON cw_nra.proc_ins_id = artar.PROC_INST_ID_
|
|
|
LEFT JOIN act_ru_task arta ON cw_na.proc_ins_id = arta.PROC_INST_ID_
|
|
LEFT JOIN act_ru_task arta ON cw_na.proc_ins_id = arta.PROC_INST_ID_
|