public static String longListToString(List<Long> list) {
        if (list != null) {
            return list.stream()
                    .map(String::valueOf)
                    .collect(Collectors.joining(Const.COMMA));
        }
        return null;
    }
List<Long> String

@param list list
@return str
orion-visor-common/src/main/java/org/dromara/visor/common/mapstruct/StringConversion.java