|
|
@ -569,7 +569,15 @@ public class UserServiceImpl extends BaseServiceImpl<UserDao, UserEntity> implem |
|
|
|
} else { |
|
|
|
throw new RenException("是否认证通过数据不匹配"); |
|
|
|
} |
|
|
|
this.update(userDTO); |
|
|
|
//插入认证历史表
|
|
|
|
UserAuthenticateHistoryEntity authenticateHistoryEntity=new UserAuthenticateHistoryEntity(); |
|
|
|
authenticateHistoryEntity.setUserId(userDTO.getId()); |
|
|
|
authenticateHistoryEntity.setMobile(userDTO.getMobile()); |
|
|
|
authenticateHistoryEntity.setRealName(userDTO.getRealName()); |
|
|
|
authenticateHistoryEntity.setAddress(userDTO.getAddress()); |
|
|
|
authenticateHistoryEntity.setAuthenticatedFlag(formDTO.getAuthenticatedFlag());//是否认证通过 0未通过1通过
|
|
|
|
//authenticateHistoryEntity.setRemark(userDTO.getRemark());
|
|
|
|
userAuthenticateHistoryDao.insert(authenticateHistoryEntity); |
|
|
|
} |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|