智慧保安后台管理-外网项目备份
src/main/java/org/springblade/modules/workreport/controller/WorkReportController.java
@@ -124,7 +124,7 @@
                  "'" + workReport.getCategory() + "'" + "," +
                  "'" + workReport.getUserId() + "'" + ")";
            //FtpUtil.sqlFileUpload(s1);
            myAsyncService.FTP(s1);
            myAsyncService.dataSync(s1);
         }
      } else {
         workReport.setReplyDeptIds(getReplyDeptIds(workReport.getReceivedIds()));
@@ -149,7 +149,7 @@
                  ",user_id = " + "'" + workReport.getUserId() + "'" +
                  " " + "where id = " + "'" + workReport.getId() + "'";
            //FtpUtil.sqlFileUpload(s1);
            myAsyncService.FTP(s1);
            myAsyncService.dataSync(s1);
         }
      }
      return R.status(status);
@@ -168,7 +168,7 @@
         //内网同步
         String s1 = "delete from sys_work_report where id = " + "'" + id + "'";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
      });
      return R.status(workReportService.removeByIds(Func.toLongList(ids)));
   }