void SIMSOSpliter_SubSOAssign(SOInfo subSOInfo) { //子单是否是SIM卡订单 bool isSIMSO = false; string[] simCardProductsPre = ExternalDomainBroker.Config_SIMCardItemList_Pre(CurrentSO.CompanyCode); string[] simCardProductsAft = ExternalDomainBroker.Config_SIMCardItemList_Aft(CurrentSO.CompanyCode); string[] simCardProducts = new string[simCardProductsPre.Length + simCardProductsAft.Length]; simCardProductsPre.CopyTo(simCardProducts, 0); simCardProductsAft.CopyTo(simCardProducts, simCardProductsPre.Length); if (simCardProducts != null && simCardProducts.Length > 0) { foreach (SOItemInfo soItem in subSOInfo.Items) { if (simCardProducts.Contains(soItem.ProductSysNo.ToString())) { isSIMSO = true; } } } if (isSIMSO) { subSOInfo.BaseInfo.SOType = SOType.SIM; subSOInfo.SIMCardAndContractPhoneInfo = CurrentSO.SIMCardAndContractPhoneInfo; subSOInfo.SIMCardAndContractPhoneInfo.SOSysNo = subSOInfo.SysNo; } else { subSOInfo.BaseInfo.SOType = SOType.General; } }