liyong
2026-05-11 5419a78b26e0005d65d53ad77ab437e6b5e6f712
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"