lizhenhao 2 лет назад
Родитель
Сommit
e44e41c2f7

+ 5 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/projectReport/domain/CwProjectReportData.java

@@ -73,6 +73,11 @@ public class CwProjectReportData extends BaseDTO {
     private String projectMasterName;
 
     /**
+     * 项目经理2
+     */
+    private String realHeaderName;
+
+    /**
      * 项目经理id
      */
     @TableField(exist = false)

+ 3 - 1
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/projectReport/mapper/xml/CwProjectReportMapper.xml

@@ -165,12 +165,14 @@
         new_line.report_no as reportNo,
         new_line.opinion_type as opinionType,
         new_line.seal_type as sealType,
-        cw_re.proc_ins_id as procInsId3
+        cw_re.proc_ins_id as procInsId3,
+        suser.name as real_header_name
         FROM cw_project_report a
         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_user d on a.create_by = d.id
         LEFT JOIN sys_user e on b.project_master_id = e.id
+        LEFT JOIN sys_user suser on b.real_header = suser.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_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'