chendayu před 2 roky
rodič
revize
58dd1d24fd

+ 1 - 1
RMS/src/main/java/cn/cslg/report/service/business/ReportService.java

@@ -132,7 +132,7 @@ public class ReportService extends ServiceImpl<ReportMapper, Report> {
      */
     @Transactional(rollbackFor = Exception.class)
     public Integer addReport(ReportDTO reportDto, List<MultipartFile> files) throws IOException {
-        //侵权报告和回避报告,若报告状态不是0(审核)审核或3(完成)则将报告状态置为2(处理中)
+        //侵权/回避报告,若状态不是审核/完成,则直接将报告状态置为2(处理中)
         if (reportDto.getType().equals(4) || reportDto.getType().equals(5)) {
             if (reportDto.getStatus() != null && reportDto.getStatus() != 0 && reportDto.getStatus() != 3) {
                 reportDto.setStatus(2);