|
|
|
@ -399,9 +399,13 @@ public class UserServiceImpl extends BaseServiceImpl<UserDao, UserEntity> implem |
|
|
|
} |
|
|
|
} |
|
|
|
userGridRel.setUserId(formUserDto.getId()); |
|
|
|
//修改数据库结构
|
|
|
|
userGridRel.setAllDeptNames(formUserDto.getStreet()+"-"+formUserDto.getCommunity()+"-"+formUserDto.getGrid()); |
|
|
|
userGridRel.setAllDeptIds(formUserDto.getStreetId()+","+formUserDto.getCommunityId()+","+formUserDto.getGridId()); |
|
|
|
userGridRel.setParentDeptNames(formUserDto.getStreet()+"-"+formUserDto.getCommunity()); |
|
|
|
userGridRel.setParentDeptIds(formUserDto.getStreetId()+","+formUserDto.getCommunityId()); |
|
|
|
// 用户绑定网格
|
|
|
|
userGridRelationService.save(userGridRel); |
|
|
|
|
|
|
|
// 组装用户注册信息
|
|
|
|
EpdcUserRegisterInfoResultDTO resultDto = new EpdcUserRegisterInfoResultDTO(); |
|
|
|
resultDto.setRegisterState(NumConstant.TWO); |
|
|
|
|