智慧保安后台管理-外网项目备份
Administrator
2021-12-15 8d43111bd0e598bc0b2014cbfa69a32e74959dff
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);
         });