| | |
| | | ConfigAuditReport auditReport = new ConfigAuditReport(); |
| | | data.setAuditReport(auditReport); |
| | | List<ConfigAuditReportContent> contentList = contentService.dictList("config_check_item"); |
| | | data.setContentList( contentList); |
| | | data.setContentList(contentList); |
| | | } |
| | | if (projectId != null) { |
| | | data.setProjectId(projectId); |
| | |
| | | } |
| | | } |
| | | |
| | | int i=0; |
| | | for (ConfigAuditReportProblem problem : configAuditDto.getProblemList()) { |
| | | i++; |
| | | problem.setReportId(reportId); |
| | | problem.setNo(i); |
| | | if (problem.getId() != null) { |
| | | problemService.update(problem); |
| | | } else { |