package cn.muchinfo.rma.view.autoWidget.addressDialog;

import java.util.HashMap;

/**
 * Created by cxl on 2018/4/26.
 */

public class AddressControl {

    //获取省信息
    public static void getAddressInfo(String divisionlevel, String parentcode){
//        MessageHeadBase base = new MessageHeadBase();
//        base.setAccountID(GlobalDataCollention.getInstance().getCurr_accountInfoData().getAccountId());
//        HashMap<String, String> map = new HashMap<>();
//        map.put("divisionlevel", divisionlevel);
//        map.put("parentcode", parentcode);
//        SendMessageController.getQueryCommonMode().query(base, QueryStatements.SEARCHSIGNPROVINCE, map);
    }

    /**
     * 获取发票信息
     */
    public static void getUserTicket() {
//        MessageHeadBase base = new MessageHeadBase();
//        TaAccountInfoData taAccountInfo = GlobalDataCollention.getInstance().getCurr_accountInfoData();
//        base.setAccountID(taAccountInfo.getAccountId());
//        HashMap<String, String> map = new HashMap<>();
//        map.put("userID", String.valueOf(GlobalDataCollention.getInstance().getLoginRspData().getUserID()));
//        SendMessageController.getQueryCommonMode().query(base, QueryStatements.CLIENTQUERYUSERRECEIPTINFO, map);
    }

    /**
     * 获取地址信息
     */
    public static void getUserAddress() {
//        UserAddressModel addressModel = new UserAddressModel();
//        addressModel.requestAddress(GlobalDataCollention.getInstance().getAccountInfoData().getUserID());

        // FIXME: 2018/10/12 服务搞事  更新这个接口
//        MessageHeadBase base = new MessageHeadBase();
//        base.setAccountID(GlobalDataCollention.getInstance().getCurr_accountInfoData().getAccountId());
//        HashMap<String, String> map = new HashMap<>();
//        map.put("userID", String.valueOf(GlobalDataCollention.getInstance().getAccountInfoData().getUserID()));
//        SendMessageController.getQueryCommonMode().query(base, QueryStatements.CLIENTQUERYUSERRECEIVEINFO, map);
    }

    /**
     * 获取收货人信息
     */
    public static void getReceicePersonInfo() {
//        MessageHeadBase base = new MessageHeadBase();
//        base.setAccountID(GlobalDataCollention.getInstance().getCurr_accountInfoData().getAccountId());
//        HashMap<String, String> map = new HashMap<>();
//        map.put("userID", String.valueOf(GlobalDataCollention.getInstance().getAccountInfoData().getUserID()));
//        SendMessageController.getQueryCommonMode().query(base, QueryStatements.ClientShippingUserInfo, map);
    }

    /**
     * 合并查询账号兑换券表 and 盈亏汇总表的方法
     */
    public static void getAccountScoreAndPl() {
//        MessageHeadBase base = new MessageHeadBase();
//        base.setAccountID(GlobalDataCollention.getInstance().getCurr_accountInfoData().getAccountId());
//        HashMap<String, String> map = new HashMap<>();
//        map.put("accountId", String.valueOf(GlobalDataCollention.getInstance().getAccountInfoData().getUserID()));
//        SendMessageController.getQueryCommonMode().query(base, QueryStatements.ClientZYAccountScoreAndPl, map);
    }


}
