智慧保安后台管理-外网项目备份
tangzy
2021-12-10 e30ffbcb28d5cf24a5cf11d7487b1f9a8d82540e
src/main/java/org/springblade/modules/equipage/service/impl/GunServiceImpl.java
@@ -83,13 +83,14 @@
            //数据同步
            String s1 =
               "insert into sys_gun(id,issue_unit,card_number,gun_mode," +
                  "dept_id,person_in_charge) " +
                  "dept_id,person_in_charge,card_no) " +
                  "values(" + "'" + gun.getId() + "'" + "," +
                  "'" + gun.getIssueUnit() + "'" + "," +
                  "'" + gun.getCardNumber() + "'" + "," +
                  "'" + gun.getGunMode() + "'" + "," +
                  "'" + gun.getDeptId() + "'" + "," +
                  "'" +gun.getPersonInCharge() + "'" + ")";
                  "'" + gun.getPersonInCharge() + "'" + "," +
                  "'" +gun.getCardNo() + "'" + ")";
            FtpUtil.sqlFileUpload(s1);
         });