智慧保安后台管理-外网项目备份
src/main/java/org/springblade/modules/equipage/controller/CarController.java
@@ -107,7 +107,7 @@
                  "'" + car.getMode() + "'" + "," +
                  "'" + car.getJurisdiction() + "'" + ")";
            //FtpUtil.sqlFileUpload(s1);
            myAsyncService.FTP(s1);
            myAsyncService.dataSync(s1);
         }
      } else {
@@ -128,7 +128,7 @@
                  ",jurisdiction = " + "'" + car.getJurisdiction() + "'" +
                  " " + "where id = " + "'" + car.getId() + "'";
            //FtpUtil.sqlFileUpload(s1);
            myAsyncService.FTP(s1);
            myAsyncService.dataSync(s1);
         }
      }
      return R.status(status);
@@ -147,7 +147,7 @@
         //内网同步
         String s1 = "delete from sys_car where id = " + "'" + id + "'";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
      });
      return R.status(carService.removeByIds(Func.toLongList(ids)));
   }