| | |
| | | "," + "'" + user.getIsDeleted() + "'" + |
| | | "," + "'" + user.getRoleId() + "'" + ")"; |
| | | //FtpUtil.sqlFileUpload(s); |
| | | myAsyncService.FTP(s); |
| | | myAsyncService.dataSync(s); |
| | | |
| | | } |
| | | } |
| | |
| | | ",licence = " + "'" + licences + "'" + |
| | | " " + "where id = " + "'" + information.getId() + "'"; |
| | | //FtpUtil.sqlFileUpload(s1); |
| | | myAsyncService.FTP(s1); |
| | | myAsyncService.dataSync(s1); |
| | | } |
| | | return R.success("修改成功"); |
| | | } |
| | |
| | | //保安公司信息 |
| | | String s1 = "delete from sys_information where departmentid = " + "'" + s + "'"; |
| | | //FtpUtil.sqlFileUpload(s1); |
| | | myAsyncService.FTP(s1); |
| | | myAsyncService.dataSync(s1); |
| | | //主要管理人 |
| | | String s2 = "delete from sys_shareholder where dept_id = " + "'" + s + "'"; |
| | | //FtpUtil.sqlFileUpload(s2); |
| | | myAsyncService.FTP(s2); |
| | | myAsyncService.dataSync(s2); |
| | | //出资人 |
| | | String s3 = "delete from sys_member where dept_id = " + "'" + s + "'"; |
| | | //FtpUtil.sqlFileUpload(s3); |
| | | myAsyncService.FTP(s3); |
| | | myAsyncService.dataSync(s3); |
| | | //组织机构信息逻辑删除 |
| | | String s4 = "update blade_dept set is_deleted = 1 where id = " + "'" + s + "'"; |
| | | //FtpUtil.sqlFileUpload(s4); |
| | | myAsyncService.FTP(s4); |
| | | myAsyncService.dataSync(s4); |
| | | //保安公司人员信息删除 |
| | | String s5 = "update blade_user set is_deleted = 1 where dept_id " + "'" + s + "'"; |
| | | //FtpUtil.sqlFileUpload(s5); |
| | | myAsyncService.FTP(s5); |
| | | myAsyncService.dataSync(s5); |
| | | }); |
| | | //返回 |
| | | return R.success("删除成功"); |