`id`, `tenant_id`, `parent_tenant_id`, `user_id`, `merchern_id`, `create_date`, `update_date`
where `is_del` = 0
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `user_id` = #{userId}
and `merchern_id` = #{merchernId}
and `create_date` >= #{startdate}
and `create_date` <= #{enddate}
and id in
#{idItem}
order by ${sortColumns}
update tt_user_follow set is_del = 1,update_date=now() where id = #{id}