|
@@ -17,7 +17,6 @@
|
|
|
tfcfe.obj_id as objId,
|
|
|
tfcfe.crm_no as crmNo,
|
|
|
tbda.sop_no as sopNo,
|
|
|
- tbc.name as crmName,
|
|
|
tbs.id as serviceId,
|
|
|
tbs.name as serviceName,
|
|
|
tbs.type as serviceType,
|
|
@@ -53,7 +52,7 @@
|
|
|
left join t_f_custom_flow tfcf on
|
|
|
tfcf.id = tfcfe.t_f_custom_flow_id
|
|
|
left join t_b_crm tbc on
|
|
|
- tbc.crm_no = tfcfe.crm_no
|
|
|
+ tbc.service_id = tbda.service_id
|
|
|
left join t_b_service tbs on
|
|
|
tbs.id = tbc.service_id
|
|
|
left join sys_custom sc on
|
|
@@ -130,7 +129,6 @@
|
|
|
tfcfe.crm_no as crmNo,
|
|
|
tbda.sop_no as sopNo,
|
|
|
tfcfe.flow_id as flowId,
|
|
|
- tbc.name as crmName,
|
|
|
tbs.id as serviceId,
|
|
|
tbs.name as serviceName,
|
|
|
tbs.type as serviceType,
|
|
@@ -177,7 +175,7 @@
|
|
|
left join t_f_custom_flow tfcf on
|
|
|
tfcf.id = tfcfe.t_f_custom_flow_id
|
|
|
left join t_b_crm tbc on
|
|
|
- tbc.crm_no = tfcfe.crm_no
|
|
|
+ tbc.service_id = tbda.service_id
|
|
|
left join t_b_service tbs on
|
|
|
tbs.id = tbc.service_id
|
|
|
left join sys_custom sc on
|