|
@@ -65,7 +65,6 @@
|
|
|
cast(tfcf.flow_deployment_id as char) as flowDeploymentId,
|
|
|
art.TASK_DEF_KEY_ as taskDefKey,
|
|
|
tbcd.id as crmDetailId,
|
|
|
- tbcd.course_name as courseName,
|
|
|
if((select count(1) from t_b_ding tbd where tbd.sop_no = tbsi.sop_no and tbd.ding_exception = 1) > 0,true,false) as dingException,
|
|
|
(select group_concat(cast(art.ID_ as char)) from ACT_RU_TASK art where art.PROC_INST_ID_ = tffa.flow_id) as taskId
|
|
|
<if test="fieldName != null and fieldName != ''">
|
|
@@ -84,6 +83,7 @@
|
|
|
left join act_ru_identitylink ari on ari.TASK_ID_ = art.ID_
|
|
|
left join t_f_custom_flow tfcf on tfcf.id = tfcfe.t_f_custom_flow_id
|
|
|
left join t_b_crm_detail tbcd on tbcd.sop_no = tbsi.sop_no
|
|
|
+ left join sys_user su3 on su3.id = tbc.lead_id
|
|
|
<if test="tableName != null and tableName != ''">
|
|
|
left join ${tableName} t on t.flow_deployment_id = tfcf.flow_deployment_id and t.code = tfcfe.code
|
|
|
</if>
|