MemberCenterAuthenRpcServiceImpl.java 2.38 KB
package com.diligrp.website.rpc.impl;

import com.diligrp.website.rpc.MemberCenterAuthenRpcService;
import org.springframework.stereotype.Component;


/**
 * <B>Description</B> TODO <br />
 * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />
 * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />
 * <B>Company</B> 地利集团
 * @createTime 2014年6月20日 上午11:19:37
 * @author liujie
 */
@Component
public class MemberCenterAuthenRpcServiceImpl implements MemberCenterAuthenRpcService {
//    @Resource
//    private UserClient userClient;
//
//    public PageTemplate  getAuthenInfo(BaseQuery bq) throws Exception{
//        PageTemplate page =null;
//        if(page==null){
//            page = new PageTemplate();
//        }
//
//        UserAuthenticationService user = userClient.getUserAuthenticationService();
//        ListUserAuthenticationStateResp list = user.getAuthenticationList(bq.getCurrPage(), bq.getPageSize(), bq.getParam());
//      page.setList(list.getData());
//      page.setPageSize(list.getPageSize());
//      page.setCurrPage(list.getPage());
//      page.setTotalSize(list.getTotal());
//      return page;
//    }
//
//    /* (non-Javadoc)
//     * @see com.diligrp.website.rpc.MemberCenterAuthenRpcService#getUserInfoById(java.lang.Long)
//     */
//    @Override
//    public UserExtension getUserInfoById(Long userId) throws Exception{
//        return userClient.getUserAuthenticationService().getUserExtensionInfoByUserId(userId);
//    }
//
//    /* (non-Javadoc)
//     * @see com.diligrp.website.rpc.MemberCenterAuthenRpcService#getEnterpriseInfoById(java.lang.Long)
//     */
//    @Override
//    public EnterpriseInfo getEnterpriseInfoById(Long companyId)throws Exception {
//        return userClient.getUserAuthenticationService().getUserEnterpriseInfoByUserId(companyId);
//    }
//
//    /* (non-Javadoc)
//     * @see com.diligrp.website.rpc.MemberCenterAuthenRpcService#approveAuthen(java.lang.Long, java.lang.Integer, java.lang.Integer, java.lang.String)
//     */
//    @Override
//    public boolean approveAuthen(Long userId, Integer userType,
//            Integer authState, String auditReson,Long operatorId)throws Exception {
//       boolean flag = userClient.getUserAuthenticationService().submitAuditUserAuthentication(userId, userType, authState, auditReson, operatorId);
//       return flag;
//    }
}