| | |
| | | if(zInfoUser!=null) |
| | | { |
| | | zInfoUser.setUpdateTime(zInfoUser.getUpdateTime()==null?zInfoUser.getCreateTime():zInfoUser.getUpdateTime()); |
| | | |
| | | return AjaxResult.success(zInfoUser); |
| | | } |
| | | else |
| | |
| | | // if (!Pattern.matches("^[\\d]+(?:,[\\d]+)*$",zInfoUser.getFamilyId())) { |
| | | // throw new RuntimeException("请输入只有数字和英文逗号的字符串,且数字和逗号必须交替出现"); |
| | | // } |
| | | Date currentDate = new Date(); |
| | | SysUser user = SecurityUtils.getLoginUser().getUser(); |
| | | Long userId = user.getUserId(); |
| | | zInfoUser.setSysId(userId); |
| | |
| | | String originalString = zInfoUser.getOldName()+"-"+zInfoUser.getPhoneNumber(); |
| | | String uniqueId = UUID.nameUUIDFromBytes(originalString.getBytes()).toString(); |
| | | zInfoUser.setUaid(uniqueId); |
| | | |
| | | |
| | | // |
| | | // us.setUserId(user.getSysId()); |