From a491941cece9a90d72c9c6b0aab0e718e39dbd3c Mon Sep 17 00:00:00 2001
From: zhongrj <123456>
Date: Mon, 22 Aug 2022 15:54:22 +0800
Subject: [PATCH] 从业记录新增同步sql 修改,用户新增审查逻辑修改,外网部门只更新状态,不更新审查明细,内网状态和明细都更新
---
src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java b/src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java
index 2bc0c6c..2be2c42 100644
--- a/src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java
+++ b/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;
}
--
Gitblit v1.9.3