`id`,`tenant_id`,`parent_tenant_id`, `from_project`,`from_type`,`from_id`,`from_user_id`,`plat`, `create_date` where 1 = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `from_project` = #{fromProject} and `from_type` = #{fromType} and `from_id` = #{fromId} and `from_user_id` = #{fromUserId} and `plat` = #{plat} and `create_date` >= #{startDate} and `create_date` <= #{endDate} and id in #{idItem} order by ${sortColumns}