public static OrganizationDataModel GetOrganizationBelong(int orderID) { OrganizationDataModel model = new OrganizationDataModel(); model.Create(GetOrderDataByID(orderID).OrganizationBelong); return(model); }
public static OrganizationDataModel GetOrderBelongModel(int orderID) { var id = GetOrderDataByID(orderID).OrganizationBelong; OrganizationDataModel model = new OrganizationDataModel(); if (!model.Create(id)) { Debug.LogError("Get OrganizationModel Fail OrderID=" + orderID); } return(model); }
public OrganizationInfo(int id) { var data = OrganizationModule.GetOrganizationDataByID(id); if (data == null) { return; } ID = data.ID; dataModel = new OrganizationDataModel(); dataModel.Create(ID); }