public void Search_GetOrderDetail(D_APIControl_Entity DApiControl_entity)
        {
            startDate = DateTime.Now.AddDays(-60);
            endDate   = DateTime.Now.AddDays(1);

            dtSecretKey = rakutenAPI_bl.M_API_Select(DApiControl_entity);

            GetD_RakutenReqEntity();

            if (dtSecretKey.Rows.Count > 0)
            {
                JObject jObject = SearOrder();
                CreateSearchOrderData(jObject);
                DataTable dtOrderList = rakutenAPI_bl.InsertSelect_SearchOrderData(DRakutenReq_entity);

                if (dtOrderList.Rows.Count > 0)
                {
                    for (int row = 0; row < dtOrderList.Rows.Count; row++)
                    {
                        JObject jObjectInfo = GetOrder(dtOrderList.Rows[row]["RakutenOrderNumber"].ToString());
                        CreateGetOrderDataInfo(jObjectInfo, dtOrderList.Rows[row]["InportSEQ"].ToString(), dtOrderList.Rows[row]["InportSEQRows"].ToString());
                        //JObject jObjectInfo = GetOrder("a");
                        //CreateGetOrderDataInfo(jObjectInfo,"1",1);
                        rakutenAPI_bl.Insert_GetOrderData(base_entity);
                    }
                }
            }
        }
Esempio n. 2
0
 public DataTable M_API_Select(D_APIControl_Entity DApiControl_entity)
 {
     return(SimpleSelect1("13", string.Empty, DApiControl_entity.APIKey));
 }
 public void GetOrderDetail_Wowma(D_APIControl_Entity dapic_entity)
 {
     dtOrderList = wowma_bl.M_API_Select(dapic_entity);
     Get_WowmaEntity(dtOrderList);
     SetOrderList(wowma_entity);
 }