<sql>select case when (select count(*) from task_list where task_status=1 and id=${task_id} and del_flag=0 and source_type=1)>0 then 1 else 0 end is_run</sql>
<sql>select case when (select count(*) from single_yuejuan_source_process.task_list where task_status=1 and id=${task_id} and del_flag=0 and source_type=1)>0 then 1 else 0 end is_run</sql>