|
|
@ -123,7 +123,7 @@ namespace DSWeb.MvcShipping.Controllers
|
|
|
|
return BasicDataRefDAL.GetContentResult(result);
|
|
|
|
return BasicDataRefDAL.GetContentResult(result);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var cdc = new CommonDataContext();
|
|
|
|
var cdc = new CommonDataContext();
|
|
|
|
var companyinfo = cdc.company.Where(x => x.GID == head.COMPANYID).ToList();
|
|
|
|
var companyinfo = cdc.company.Where(x => x.GID == head.CORPID).ToList();
|
|
|
|
|
|
|
|
|
|
|
|
if (companyinfo == null || companyinfo.Count == 0) {
|
|
|
|
if (companyinfo == null || companyinfo.Count == 0) {
|
|
|
|
result.SetErrorInfo("没有找到该分公司");
|
|
|
|
result.SetErrorInfo("没有找到该分公司");
|
|
|
|