liyong
2026-05-14 ff9cedf9f8093dc87e4974f9ba0c9e591ee6783b
src/main/java/com/ruoyi/approve/service/impl/LogReportServiceImpl.java
@@ -73,6 +73,9 @@
    @Override
    public Boolean add(LogReportDto sysLogReport) {
        if (ObjectUtils.isEmpty(sysLogReport.getCcUserIds())) {
            throw new RuntimeException("请选择抄送人");
        }
        String collect = sysLogReport.getCcUserIds().stream()
                .map(String::valueOf)           // Long → String
                .collect(Collectors.joining(","));// 拼接为 "1,2,3"
@@ -87,6 +90,9 @@
    @Override
    public Boolean updateSysLogReportDto(LogReportDto sysLogReport) {
        if (ObjectUtils.isEmpty(sysLogReport.getCcUserIds())) {
            throw new RuntimeException("请选择抄送人");
        }
        String collect = sysLogReport.getCcUserIds().stream()
                .map(String::valueOf)           // Long → String
                .collect(Collectors.joining(","));// 拼接为 "1,2,3"