448700174 commented on issue #12315:
URL: 
https://github.com/apache/shardingsphere/issues/12315#issuecomment-915997997


   the actual sql is :
   select 
i.id,i.operate_time,i.operator_name,group_concat("{\"k\":\"",d.option_name,"\",\"v\":\"",d.option_value,
 "\"}") options 
                from care_task_12 t,care_task_item_12 i left join 
care_task_detail_21 d on d.task_item_id = i.id and d.tenant_id = ?
                where i.task_id = t.id and t.enabled = 1 and t.done_count > 0 
and i.enabled  = 1
                and t.tenant_id = ?
                and i.tenant_id = ?
   
   select 
i.id,i.operate_time,i.operator_name,group_concat("{\"k\":\"",d.option_name,"\",\"v\":\"",d.option_value,
 "\"}") options 
                from care_task_12 t,care_task_item_12 i left join 
care_task_detail_22 d on d.task_item_id = i.id and d.tenant_id = ?
                where i.task_id = t.id and t.enabled = 1 and t.done_count > 0 
and i.enabled  = 1
                and t.tenant_id = ?
                and i.tenant_id = ?
   
   ...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to