| | |
| | | |
| | | |
| | | // 判断货主类型 |
| | | var owner_type = wmsManager.GetOwnerType(cgddDetails.DemandOrg); |
| | | //var owner_type = wmsManager.GetOwnerType(cgddDetails.DemandOrg); |
| | | // if (Db.Queryable<SysOrganization>().Any(x => x.Fid == cgddDetails.DemandOrg)) |
| | | // { |
| | | // owner_type = "BD_OwnerOrg"; |
| | |
| | | BillNo = itemBarcodeDetails.BillNo, |
| | | DepotId = Convert.ToInt32(mesDepost.DepotId), |
| | | OwnerId = cgddDetails.DemandOrg, |
| | | OwnerType = owner_type, |
| | | // OwnerType = owner_type, |
| | | StockOrgId = mesDepost.FSubsidiary, |
| | | IndepUserCode = user |
| | | }).IgnoreColumns(true).ExecuteCommand(); |