|
|
@@ -329,7 +329,17 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements
|
|
|
Map<String, Object> params = new HashMap<String, Object>();
|
|
|
if(StringUtils.isNotBlank(uid))params.put("uid", uid);
|
|
|
if(StringUtils.isNotBlank(businessProjectId)) params.put("businessProjectId", businessProjectId);
|
|
|
- return (Pagination<FollowListBo>)findPage("selectFollowHistoryList","selectFollowHistoryCount",params, pageNo, pageSize);
|
|
|
+ Pagination<FollowListBo> page = (Pagination<FollowListBo>)findPage("selectFollowHistoryList","selectFollowHistoryCount",params, pageNo, pageSize);
|
|
|
+ List<FollowListBo> list = (List<FollowListBo>)page.getList();
|
|
|
+ for(FollowListBo bo : list){
|
|
|
+ if(bo.getAid().equals(TokenManager.getAdminId())){
|
|
|
+ bo.setReadOnly(AFTConstants.NO);
|
|
|
+ }else{
|
|
|
+ bo.setReadOnly(AFTConstants.YES);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ page.setList(list);
|
|
|
+ return page;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
@@ -345,7 +355,6 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements
|
|
|
|
|
|
@Override
|
|
|
public List<OrganizationContactBook> findCustomerContacts(String uid) {
|
|
|
-
|
|
|
return userMapper.findCustomerContacts(uid,TokenManager.getAdminId());
|
|
|
}
|
|
|
|