private void SaveGongYePianQuImageFielPathToDb(int gongYePianQuId, string physicalPath, string url, string uploadFileName, string areaPath) { var gongYePianQuService = new GongYePianQuService(); var zhaoPian = new GongYePianQuZhaoPian { GongYePianQuId = gongYePianQuId, FilePath = physicalPath, AreaPath = areaPath, OrgNamePath = GetOrganizationNamePath(), CreatedBy = GetCurrentUserName(), CreatedDate = DateTime.Now, FileName = uploadFileName, Url = url, Uploaded = StatusHelper.IsLocalModel() ? "N" : "Y" }; gongYePianQuService.AddGongYePianQuZhaoPian(zhaoPian); }