|
|
|
@ -473,7 +473,7 @@ namespace Shentun.Peis.CCTJExportDatas |
|
|
|
Address = row["address"].ToString(), |
|
|
|
Bank = row["bank"].ToString(), |
|
|
|
DisplayName = row["org_name"].ToString(), |
|
|
|
DisplayOrder = oldCustomerOrgList.Rows.IndexOf(row) + 1, |
|
|
|
DisplayOrder = Convert.ToInt32(row["display_order"].ToString()), |
|
|
|
Fax = row["fax"].ToString(), |
|
|
|
InvoiceName = row["org_name"].ToString(), |
|
|
|
IsActive = 'Y', |
|
|
|
@ -481,7 +481,7 @@ namespace Shentun.Peis.CCTJExportDatas |
|
|
|
MedicalCenterId = defaultMedicalCenterId, |
|
|
|
OrgTypeId = defaultOrgTypeId, //默认为私营
|
|
|
|
ParentId = null, |
|
|
|
PathCode = (oldCustomerOrgList.Rows.IndexOf(row) + 1).ToString().PadLeft(5, '0'), |
|
|
|
PathCode = _customerOrgManager.CreatePathCode(null).GetAwaiter().GetResult(), |
|
|
|
PostalCode = row["postalcode"].ToString(), |
|
|
|
Remark = remark, |
|
|
|
ShortName = row["short_name"].ToString(), |
|
|
|
@ -575,7 +575,7 @@ namespace Shentun.Peis.CCTJExportDatas |
|
|
|
Address = row["address"].ToString(), |
|
|
|
Bank = row["bank"].ToString(), |
|
|
|
DisplayName = row["org_name"].ToString(), |
|
|
|
DisplayOrder = oldCustomerOrgList.Rows.IndexOf(row) + 1, |
|
|
|
DisplayOrder = Convert.ToInt32(row["display_order"].ToString()), |
|
|
|
Fax = row["fax"].ToString(), |
|
|
|
InvoiceName = row["org_name"].ToString(), |
|
|
|
IsActive = 'Y', |
|
|
|
@ -583,7 +583,7 @@ namespace Shentun.Peis.CCTJExportDatas |
|
|
|
MedicalCenterId = defaultMedicalCenterId, |
|
|
|
OrgTypeId = defaultOrgTypeId, //默认为私营
|
|
|
|
ParentId = parentId, |
|
|
|
PathCode = _customerOrgManager.CreatePathCode(parentId).Result, |
|
|
|
PathCode = _customerOrgManager.CreatePathCode(parentId).GetAwaiter().GetResult(), |
|
|
|
PostalCode = row["postalcode"].ToString(), |
|
|
|
Remark = remark, |
|
|
|
ShortName = row["short_name"].ToString(), |
|
|
|
@ -677,7 +677,7 @@ namespace Shentun.Peis.CCTJExportDatas |
|
|
|
Address = row["address"].ToString(), |
|
|
|
Bank = row["bank"].ToString(), |
|
|
|
DisplayName = row["org_name"].ToString(), |
|
|
|
DisplayOrder = oldCustomerOrgList.Rows.IndexOf(row) + 1, |
|
|
|
DisplayOrder = Convert.ToInt32(row["display_order"].ToString()), |
|
|
|
Fax = row["fax"].ToString(), |
|
|
|
InvoiceName = row["org_name"].ToString(), |
|
|
|
IsActive = 'Y', |
|
|
|
@ -685,7 +685,7 @@ namespace Shentun.Peis.CCTJExportDatas |
|
|
|
MedicalCenterId = defaultMedicalCenterId, |
|
|
|
OrgTypeId = defaultOrgTypeId, //默认为私营
|
|
|
|
ParentId = parentId, |
|
|
|
PathCode = _customerOrgManager.CreatePathCode(parentId).Result, |
|
|
|
PathCode = _customerOrgManager.CreatePathCode(parentId).GetAwaiter().GetResult(), |
|
|
|
PostalCode = row["postalcode"].ToString(), |
|
|
|
Remark = remark, |
|
|
|
ShortName = row["short_name"].ToString(), |
|
|
|
|