智慧保安后台管理-外网项目备份
zhongrj
2023-08-14 db3baf73da3226fbbbcd162ca3745ae0da28183e
src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java
@@ -85,7 +85,7 @@
                  + "'" + records.getType() + "'" + ","
                  + "'" + records.getAuditStatus() + "'" + ")";
               //FtpUtil.sqlFileUpload(s);
               myAsyncService.FTP(s);
               myAsyncService.dataSync(s);
            }
         }
         //判断类型,如果是证书的,审核未通过的可以再次申请,审核通过的,暂时不给于新增记录
@@ -106,7 +106,7 @@
                  + "'" + records.getType() + "'" + ","
                  + "'" + records.getAuditStatus() + "'" + ")";
               //FtpUtil.sqlFileUpload(s);
               myAsyncService.FTP(s);
               myAsyncService.dataSync(s);
            }
         }
@@ -173,7 +173,7 @@
            //如果保安证编号不为空
            if (null != accreditationRecordsVo.getSecurityNumber() && accreditationRecordsVo.getSecurityNumber() != "") {
               //去生成二维码
               String url = "http://223.82.109.183:2080/securityInfo.html";
               String url = "http://61.131.136.25:2080/securityInfo.html";
               String encoded = null;
               try {
                  encoded = URLEncoder.encode(accreditationRecordsVo.getSecurityNumber(), "UTF-8");
@@ -240,7 +240,7 @@
            "update sys_accreditation_records set status = " + accreditationRecords.getStatus() + "" +
               "where id = " + "'" + accreditationRecords.getId() + "'";
         //FtpUtil.sqlFileUpload(s);
         myAsyncService.FTP(s);
         myAsyncService.dataSync(s);
      });
      return true;
   }