Browse Source

[WHAT] 調整展覽API回傳內容屬性

Dev
berlin-tzen 2 years ago
parent
commit
dfaaee97f5
  1. 3
      EuroTran/EasyBL.WEBAPP/ShowEasy/ExhibMaintain_QryService.cs
  2. 1
      EuroTran/Entity/ShowEasyDtos/ExhibitionDTO.cs

3
EuroTran/EasyBL.WEBAPP/ShowEasy/ExhibMaintain_QryService.cs

@ -1356,10 +1356,13 @@ namespace EasyBL.WEBAPP.SYS
Logo = Server + "/" + LogoFile.FilePath.Replace("\\", "/");
}
var sENName = FindOneByIDs(Exhibition.ExhibitionID, WebAppGlobalConstWord.EN_US).ExhibitionName;
// set Exhibition
rsExhibition.ExhibitionID = Exhibition.ExhibitionID;
rsExhibition.ExhibitionNo = Exhibition.ExhibitionNo;
rsExhibition.ExhibitionName = Exhibition.ExhibitionName;
rsExhibition.ExhibitionENName = sENName;
rsExhibition.AbbreviatedName = Exhibition.AbbreviatedName;
rsExhibition.Frequency = Exhibition.Frequency;
rsExhibition.IsRecommend = Exhibition.IsRecommend;

1
EuroTran/Entity/ShowEasyDtos/ExhibitionDTO.cs

@ -11,6 +11,7 @@ namespace Entity.ShowEasyDtos
public string ExhibitionID { get; set; }
public string ExhibitionNo { get; set; }
public string ExhibitionName { get; set; }
public string ExhibitionENName { get; set; }
public string AbbreviatedName { get; set; }
public List<VenueDTO> Venues = new List<VenueDTO>();

Loading…
Cancel
Save