From 02c1cdc64b62e5248b7b5bdadcfd5cc661b43248 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Wed, 25 Aug 2021 15:04:09 +0800
Subject: [PATCH] 1.单位

---
 src/main/java/org/springblade/modules/revoke/controller/RevokeController.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 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..e042bd6 100644
--- a/src/main/java/org/springblade/modules/revoke/controller/RevokeController.java
+++ b/src/main/java/org/springblade/modules/revoke/controller/RevokeController.java
@@ -104,9 +104,10 @@
 		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)" +
+			"address,business,region,registration,industry,type,permitime,deptid,ptype,representativecell,contacts,contactscell,reason,jurisdiction)" +
 			"values(" + "'" + revoke.getId() + "'" + "," + "'" + revoke.getCreditcode() + "'" + "," + "'" + revoke.getEnterprisename() + "'" + "," + "'"
 			+ revoke.getRepresentative() + "'" + "," +
 			"'" + formatStr + "'" + "," + "'" + revoke.getRegisteredcapital() + "'" + "," + "'"
@@ -115,9 +116,9 @@
 			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() + "'"+")" ;
+			"'" + revoke.getReason() + "'"+"," + "'" + revoke.getJurisdiction() + "'"+")" ;
 		FtpUtil.sqlFileUpload(s);
 		return R.success("成功");
 	}

--
Gitblit v1.9.3