| | |
| | | public R firstLogin(String id) { |
| | | return R.status(userService.firstLogin(id)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 清除无效编号 |
| | | */ |
| | | @GetMapping("/clearPaper") |
| | | public void clearPaper() { |
| | | //修改符合条件的用户信息 |
| | | String s0 ="update blade_user set securitynumber = '',hold = '2' where securitynumber like concat('%','赣洪2022','%') and right(securitynumber,5) >2000"; |
| | | FtpUtil.sqlFileClear(s0); |
| | | |
| | | //修改符合条件的编号信息 |
| | | String s1 ="delete from sys_security_paper where number like concat('%','赣洪2022','%') and right(number,5) >2000"; |
| | | FtpUtil.sqlFileClear(s1); |
| | | |
| | | //修改两个用户的编号 |
| | | String s2 ="update blade_user set securitynumber = '',hold = '2' where id=1498127507772190722"; |
| | | FtpUtil.sqlFileClear(s2); |
| | | |
| | | String s3 ="update blade_user set securitynumber = '',hold = '2' where id=1502082757986168834"; |
| | | FtpUtil.sqlFileClear(s3); |
| | | } |
| | | } |
| | | |