MemberManagerImpl.java
2.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
package com.diligrp.website.manager.impl;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import com.diligrp.website.manager.MemberManager;
import com.diligrp.website.rpc.MemberRPCService;
import com.diligrp.website.util.dao.BaseQuery;
import com.diligrp.website.util.web.PageTemplate;
import com.yqyw.user.rpc.client.domain.input.CreditLimitReq;
import com.yqyw.user.rpc.client.domain.input.FavoriteInfo;
import com.yqyw.user.rpc.client.domain.input.LockMemberReq;
import com.yqyw.user.rpc.client.domain.output.DefaultResp;
import com.yqyw.user.rpc.client.domain.output.EnterpriseInfoResp;
import com.yqyw.user.rpc.client.domain.output.ListFavoriteByPagingResp;
import com.yqyw.user.rpc.client.domain.output.LockMemberResp;
import com.yqyw.user.rpc.client.domain.output.MemberCreditInfoResp;
import com.yqyw.user.rpc.client.domain.output.MemberCreditOptionLogResp;
import com.yqyw.user.rpc.client.domain.output.UserExtensionResp;
import com.yqyw.user.rpc.client.domain.output.UserInfoResp;
@Component("memberManager")
public class MemberManagerImpl implements MemberManager {
@Resource
private MemberRPCService memberRPCService;
@Override
public PageTemplate query(BaseQuery bq) {
return memberRPCService.query(bq);
}
@Override
public LockMemberResp getLockUser(Long id) {
return memberRPCService.getLockUser(id);
}
@Override
public boolean lockMember(LockMemberReq req) {
return memberRPCService.lockMember(req);
}
@Override
public boolean unlockMember(LockMemberReq req) {
return memberRPCService.unlockMember(req);
}
@Override
public List<MemberCreditOptionLogResp> getCreditHistory(Long memberId) {
return memberRPCService.getCreditHistory(memberId);
}
@Override
public MemberCreditInfoResp getCreditInfo(Long memberId) {
return memberRPCService.getCreditInfo(memberId);
}
@Override
public DefaultResp updateCreditLimit(CreditLimitReq req) {
return memberRPCService.updateCreditLimit(req);
}
// @Override
// public ListBrowseHistoryResp historyList(Integer type,Long userId, BaseQuery bq) {
// return memberRPCService.historyList(type, userId, bq);
// }
@Override
public UserInfoResp getMemberInfo(Long uid) {
return memberRPCService.getMemberInfo(uid);
}
@Override
public UserExtensionResp getMemberExtension(Long uid) {
return memberRPCService.getMemberExtension(uid);
}
@Override
public EnterpriseInfoResp getEnterpriseByUserId(Long uid) {
return memberRPCService.getEnterpriseByUserId(uid);
}
@Override
public ListFavoriteByPagingResp getMemberFavorite(FavoriteInfo info,
Integer currPage, Integer pageSize) {
return memberRPCService.getMemberFavorite(info, currPage, pageSize);
}
}