|
@@ -45,6 +45,7 @@
|
|
|
<result property="memberCount" column="member_count" jdbcType="VARCHAR"/>
|
|
<result property="memberCount" column="member_count" jdbcType="VARCHAR"/>
|
|
|
<result property="realHeaderName" column="real_header_name" jdbcType="VARCHAR"/>
|
|
<result property="realHeaderName" column="real_header_name" jdbcType="VARCHAR"/>
|
|
|
<result property="reportReview" column="report_review" jdbcType="VARCHAR"/>
|
|
<result property="reportReview" column="report_review" jdbcType="VARCHAR"/>
|
|
|
|
|
+ <result property="reportName" column="report_name" jdbcType="VARCHAR"/>
|
|
|
<collection property="cwProjectClientInfoDTOList" ofType="com.jeeplus.finance.workClientInfo.service.dto.CwWorkClientBaseDTO" column="id" select="getProjectClient"></collection>
|
|
<collection property="cwProjectClientInfoDTOList" ofType="com.jeeplus.finance.workClientInfo.service.dto.CwWorkClientBaseDTO" column="id" select="getProjectClient"></collection>
|
|
|
<collection property="workAttachmentDtoList" ofType="com.jeeplus.sys.service.dto.WorkAttachmentInfoDTO" column="id" select="getFileList"></collection>
|
|
<collection property="workAttachmentDtoList" ofType="com.jeeplus.sys.service.dto.WorkAttachmentInfoDTO" column="id" select="getFileList"></collection>
|
|
|
<collection property="cwProjectClientContactDTOList" ofType="com.jeeplus.finance.projectRecords.service.dto.CwProjectClientContactDTO" column="id" select="getContact"></collection>
|
|
<collection property="cwProjectClientContactDTOList" ofType="com.jeeplus.finance.projectRecords.service.dto.CwProjectClientContactDTO" column="id" select="getContact"></collection>
|
|
@@ -364,7 +365,8 @@
|
|
|
cw_wci.payment_method,
|
|
cw_wci.payment_method,
|
|
|
cw_wcb.name as client_contacts_name,
|
|
cw_wcb.name as client_contacts_name,
|
|
|
cw_pbt.name as business_type_name,
|
|
cw_pbt.name as business_type_name,
|
|
|
- b.member_count
|
|
|
|
|
|
|
+ b.member_count,
|
|
|
|
|
+ cpr.report_name
|
|
|
from cw_project_records a
|
|
from cw_project_records a
|
|
|
left join sys_user su on su.id = a.create_by_id and su.del_flag = '0'
|
|
left join sys_user su on su.id = a.create_by_id and su.del_flag = '0'
|
|
|
left join sys_user su2 on su2.id = a.project_master_id and su2.del_flag = '0'
|
|
left join sys_user su2 on su2.id = a.project_master_id and su2.del_flag = '0'
|
|
@@ -378,6 +380,7 @@
|
|
|
group by rec.id
|
|
group by rec.id
|
|
|
) b on b.id = a.id
|
|
) b on b.id = a.id
|
|
|
left join cw_project_members cpm on a.id = cpm.project_id
|
|
left join cw_project_members cpm on a.id = cpm.project_id
|
|
|
|
|
+ left join cw_project_report cpr on a.id = cpr.project_id
|
|
|
left join sys_user sub on cpm.user_id = sub.id
|
|
left join sys_user sub on cpm.user_id = sub.id
|
|
|
left join sys_user_manage_office sumo on sumo.office_id = sub.office_id
|
|
left join sys_user_manage_office sumo on sumo.office_id = sub.office_id
|
|
|
${ew.customSqlSegment}
|
|
${ew.customSqlSegment}
|