|
@@ -44,7 +44,7 @@
|
|
|
tbsi.sop_no as sopNo,
|
|
|
tbsi.crm_no as crmNo,
|
|
|
tbc.begin_time as beginTime,
|
|
|
- cast(sc.manager_id as char) as customManagerId,
|
|
|
+ cast(tbc.crm_user_id as char) as customManagerId,
|
|
|
su1.real_name as customManagerName,
|
|
|
sc.type as customManagerType,
|
|
|
IF(sc.type = 'OFFICE','教务处','研究生') as customManagerTypeStr,
|
|
@@ -76,7 +76,7 @@
|
|
|
left join t_b_service tbs on tbs.id = tbsi.service_id
|
|
|
left join t_b_service_region r on tbsi.service_id=r.service_id
|
|
|
left join sys_custom sc on sc.id = tbsi.custom_id
|
|
|
- left join sys_user su1 on su1.id = sc.manager_id
|
|
|
+ left join sys_user su1 on su1.id = tbc.crm_user_id
|
|
|
left join t_b_product tbp on tbp.id = tbc.product_id
|
|
|
left join t_f_custom_flow_entity tfcfe on tfcfe.code = tbsi.sop_no
|
|
|
left join sys_user su2 on su2.id = tfcfe.create_id
|