MemberService.java 1.58 KB
package com.diligrp.website.service;

import java.util.List;

import com.diligrp.website.util.dao.BaseQuery;
import com.diligrp.website.util.domain.Result;
import com.diligrp.website.util.web.PageTemplate;
import com.yqyw.user.rpc.client.domain.input.CreditLimitReq;
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.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;

public interface MemberService {

    public Result list(BaseQuery bq);

    public PageTemplate query(BaseQuery bq);

    public LockMemberResp getLockUser(Long id);

    public boolean lockMember(LockMemberReq req);

    public boolean unlockMember(LockMemberReq req);

    public List<MemberCreditOptionLogResp> getCreditHistory(Long memberId);

    public MemberCreditInfoResp getCreditInfo(Long memberId);

    public DefaultResp updateCreditLimit(CreditLimitReq req);

//    public Result historyList(Integer type,Long userId, BaseQuery bq);

    public UserInfoResp getMemberInfo(Long uid);

    public UserExtensionResp getMemberExtension(Long uid);

    public EnterpriseInfoResp getEnterpriseByUserId(Long uid);

    public Result getMemberFavorite(Long uid, Integer type, Integer currPage,
            Integer pageSize);

}