From 98fbc479e2077cec65ead7885f70653da9d34d3f Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Tue, 14 Sep 2021 18:25:48 +0800
Subject: [PATCH] 1.ftp

---
 src/main/java/org/springblade/modules/information/controller/InformationController.java |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/main/java/org/springblade/modules/information/controller/InformationController.java b/src/main/java/org/springblade/modules/information/controller/InformationController.java
index ce78b24..664bcdb 100644
--- a/src/main/java/org/springblade/modules/information/controller/InformationController.java
+++ b/src/main/java/org/springblade/modules/information/controller/InformationController.java
@@ -186,8 +186,8 @@
 		informationService.save(information);
 		String formatStr = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(information.getEstablishtime());
 		//Integer id = information.getId();
-		String s = "insert into sys_information(id,creditcode,enterprisename,representative,establishtime," +
-			"registeredcapital,organizationcode,registrationnumber, enterprises, address," +
+		String s = "insert into sys_information(id,creditCode,enterpriseName,representative,establishTime," +
+			"registeredCapital,organizationCode,registrationNumber, enterprises, address," +
 			" business,region,registration,industry,departmentid,stats,jurisdiction,representativecell,contacts,contactscell) " +
 			"values(" + "'" + information.getId() + "'" + "," + "'" + information.getCreditcode() + "'" + "," + "'" + information.getEnterprisename() + "'" + "," + "'" + information.getRepresentative() + "'" + "," +
 			"'" + formatStr + "'" + "," + "'" + information.getRegisteredcapital() + "'" + "," + "'" + information.getOrganizationcode() + "'" + "," + "'" + information.getRegistrationnumber() + "'" + "," + "'" + information.getEnterprises() + "'" + "," + "'" +
@@ -222,13 +222,12 @@
 			 format = new SimpleDateFormat("yyyy-MM-dd").format(information.getEstablishtime());
 		}
 		//内网同步
-		String s1 = "update sys_information set creditcode = " + "'" + information.getCreditcode() + "'" +
-			",enterprisename = " + "'" + information.getEnterprisename() + "'" +
+		String s1 = "update sys_information set creditCode = " + "'" + information.getCreditcode() + "'" +
+			",enterpriseName = " + "'" + information.getEnterprisename() + "'" +
 			",representative = " + "'" + information.getRepresentative() + "'" +
-			",establishtime = " + "'" + format + "'" +
-			",registeredcapital = " + "'" + information.getRegisteredcapital() + "'" +
-			",organizationcode = " + "'" + information.getOrganizationcode() + "'" +
-			",registrationnumber = " + "'" + information.getRegistrationnumber() + "'" +
+			",establishTime = " + "'" + format + "'" +
+			",registeredCapital = " + "'" + information.getRegisteredcapital() + "'" +
+			",jurisdiction = " + "'" + information.getJurisdiction() + "'" +
 			",enterprises = " + "'" + information.getEnterprises() + "'" +
 			",address = " + "'" + information.getAddress() + "'" +
 			",business = " + "'" + information.getBusiness() + "'" +
@@ -237,7 +236,6 @@
 			",industry = " + "'" + information.getIndustry() + "'" +
 			",departmentid = " + "'" + information.getDepartmentid() + "'" +
 			",stats = " + "'" + information.getStats() + "'" +
-			",jurisdiction = " + "'" + information.getJurisdiction() + "'" +
 			",representativecell = " + "'" + information.getRepresentativecell() + "'" +
 			",contacts = " + "'" + information.getContacts() + "'" +
 			",contactscell = " + "'" + information.getContactscell() + "'" +

--
Gitblit v1.9.3