| | |
| | | user.setAccount(record.getEnterprisename()); |
| | | String initPassword = ParamCache.getValue(DEFAULT_PARAM_PASSWORD); |
| | | user.setPassword(initPassword); |
| | | userService.saveOrUpdate(user); |
| | | boolean b = userService.saveOrUpdate(user); |
| | | //把附件添加单位id |
| | | attachService.updat(information.getDepartmentid(),record.getCardid()); |
| | | String s1 = "update sys_record set type = " + "'" + record.getType() + "'" + |
| | |
| | | " " +"where id = " + "'" + record.getId() + "'"; |
| | | FtpUtil.sqlFileUpload(s1); |
| | | } |
| | | return R.status(recordService.updateById(record)); |
| | | return R.status(recordService.saveOrUpdate(record)); |
| | | } |
| | | |
| | | /** |