From 7b26e716c922e80e730c37640ad15c6cf92e2ced Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Wed, 25 Aug 2021 09:27:59 +0800
Subject: [PATCH] 1.许可
---
src/main/java/org/springblade/modules/revoke/controller/RevokeController.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main/java/org/springblade/modules/revoke/controller/RevokeController.java b/src/main/java/org/springblade/modules/revoke/controller/RevokeController.java
index e6e2082..5e5965c 100644
--- a/src/main/java/org/springblade/modules/revoke/controller/RevokeController.java
+++ b/src/main/java/org/springblade/modules/revoke/controller/RevokeController.java
@@ -104,6 +104,7 @@
revoke.setPermitime(new Date());
revokeService.save(revoke);
String formatStr = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(revoke.getEstablishtime());
+ String pertime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(revoke.getPermitime());
String s = "insert into sys_revoke(id,creditCode,enterpriseName,representative,establishTime," +
"registeredCapital,organizationCode,registrationNumber,identificationNumber,enterprises," +
"address,business,region,registration,industry,type,permitime,deptid,ptype,representativecell,contacts,contactscell,reason)" +
@@ -115,7 +116,7 @@
revoke.getAddress() + "'" + "," + "'" + revoke.getBusiness() + "'" + "," + "'" +
revoke.getRegion() + "'" + "," + "'" + revoke.getRegistration() + "'" + "," + "'" + revoke.getIndustry()+ "'" + "," + "'"
+ revoke.getType() + "'" + "," +
- "'" + revoke.getPermitime() + "'" + "," + "'" + revoke.getDeptid() + "'" + "," + "'" + revoke.getPtype() + "'" + "," +
+ "'" + pertime + "'" + "," + "'" + revoke.getDeptid() + "'" + "," + "'" + revoke.getPtype() + "'" + "," +
"'" + revoke.getRepresentativecell() + "'" + "," + "'" + revoke.getContacts() + "'" + "," + "'" + revoke.getContactscell() + "'"+"," +
"'" + revoke.getReason() + "'"+")" ;
FtpUtil.sqlFileUpload(s);
--
Gitblit v1.9.3