智慧保安后台管理-外网项目备份
src/main/java/org/springblade/modules/equipage/controller/EquipageController.java
@@ -101,7 +101,7 @@
                  "'" + equipage.getPersonInCharge() + "'" + "," +
                  "'" + equipage.getNum() + "'" + ")";
            //FtpUtil.sqlFileUpload(s1);
            myAsyncService.FTP(s1);
            myAsyncService.dataSync(s1);
         }
      } else {
         //修改
@@ -121,7 +121,7 @@
                  ",person_in_charge = " + "'" + equipage.getPersonInCharge() + "'" +
                  " " + "where id = " + "'" + equipage.getId() + "'";
            //FtpUtil.sqlFileUpload(s1);
            myAsyncService.FTP(s1);
            myAsyncService.dataSync(s1);
         }
      }
      return R.status(status);
@@ -140,7 +140,7 @@
         //内网同步
         String s1 = "delete from sys_equipage where id = " + "'" + id + "'";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
      });
      return R.status(equipageService.removeByIds(Func.toLongList(ids)));
   }