智慧保安后台管理-外网-验收版本
tangzy
2021-09-15 ff7b03055d36d1217858fd96d57a73c85e366bef
1.ftp
4 files modified
16 ■■■■ changed files
src/main/java/org/springblade/common/constant/FtpConstant.java 2 ●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/FTP/FtpUtil.java 1 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/information/controller/InformationController.java 11 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/information/entity/Information.java 2 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/common/constant/FtpConstant.java
@@ -18,7 +18,7 @@
    /**
     * ftp服务器IP地址
     */
    String ftpHost_dev = "192.168.0.110";
    String ftpHost_dev = "192.168.0.112";
    /**
     * ftp服务器IP地址
src/main/java/org/springblade/modules/FTP/FtpUtil.java
@@ -305,6 +305,7 @@
            e.printStackTrace();
        }
        FtpUtil.uploadFile(ftpHost_dev, ftpPort, ftpUserName, ftpPassword, ftpPath, "/",  "w"+response1+".json", in1);
        MysqlCenlint.deletess("w"+response1+".json");
    }
}
src/main/java/org/springblade/modules/information/controller/InformationController.java
@@ -231,13 +231,11 @@
             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() + "'" +
@@ -247,7 +245,6 @@
            ",industry = " + "'" + information.getIndustry() + "'" +
            ",departmentid = " + "'" + information.getDepartmentid() + "'" +
            ",stats = " + "'" + information.getStats() + "'" +
            ",jurisdiction = " + "'" + information.getJurisdiction() + "'" +
            ",representativecell = " + "'" + information.getRepresentativecell() + "'" +
            ",contacts = " + "'" + information.getContacts() + "'" +
            ",contactscell = " + "'" + information.getContactscell() + "'" +
src/main/java/org/springblade/modules/information/entity/Information.java
@@ -65,6 +65,8 @@
     * 成立日期
     */
    @ApiModelProperty(value = "成立日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField("establishTime")
    private Date establishtime;
    /**