`id`,`tenant_id`,`parent_tenant_id`,`game_id`,`user_id`,`user_phone`,`user_name`,`user_nick_name`,`add_count`,`create_time`,`update_time`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `game_id` = #{gameId}
and `user_id` = #{userId}
and `user_phone` like concat('%', #{userPhone},'%')
and `user_name` like concat('%', #{userName},'%')
and `user_nick_name` like concat('%', #{userNickName},'%')
and id in
#{idItem}
order by ${sortColumns}