Commit 2d1bd959 authored by 赵啸非's avatar 赵啸非

添加更新基础区域

parent 0a85fa65
...@@ -41,6 +41,11 @@ public class DeclareVo extends BaseEntityLong { ...@@ -41,6 +41,11 @@ public class DeclareVo extends BaseEntityLong {
private String phone; private String phone;
/**
* 代办人手机
*/
private String agentUserPhone;
/** /**
* 代办人idList * 代办人idList
......
...@@ -93,6 +93,13 @@ public class DeclareServiceImpl extends AbstractCRUDServiceImpl<DeclareDao, Decl ...@@ -93,6 +93,13 @@ public class DeclareServiceImpl extends AbstractCRUDServiceImpl<DeclareDao, Decl
UserEntity userCache = userService.getCache(applyId.toString()); UserEntity userCache = userService.getCache(applyId.toString());
declareEntity.setPhone(userCache == null ? "" : userCache.getPhone()); declareEntity.setPhone(userCache == null ? "" : userCache.getPhone());
} }
Long agentUserId = declareEntity.getAgentUserId();
if(!ObjectUtils.isEmpty(agentUserId)){
UserEntity userCache = userService.getCache(agentUserId.toString());
declareEntity.setAgentUserPhone(userCache == null ? "" : userCache.getPhone());
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment