|
|
@ -28,12 +28,12 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
/// <returns></returns>
|
|
|
|
///
|
|
|
|
|
|
|
|
public VenueDTO FindByIDs(string sVenueID, string sLangType) |
|
|
|
public SETB_ORG_Venue FindByIDs(string sVenueID, string sLangType) |
|
|
|
{ |
|
|
|
string sMsg = null; |
|
|
|
var db = SugarBase.GetIntance(); |
|
|
|
|
|
|
|
VenueDTO rsVenue = new VenueDTO(); |
|
|
|
var rsVenue = new SETB_ORG_Venue(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -52,17 +52,6 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
}) |
|
|
|
.Where((t1) => t1.VenueID == sVenueID) |
|
|
|
.Where((t1) => t1.LangType == sLangType) |
|
|
|
.Select((t1, t2, t3, t4) => new VenueDTO |
|
|
|
{ |
|
|
|
|
|
|
|
VenueID = SqlFunc.GetSelfAndAutoFill(t1.VenueID), |
|
|
|
|
|
|
|
VenueName = t1.VenueName, |
|
|
|
RegionName = t2.RegionName, |
|
|
|
CountryName = t3.CountryName, |
|
|
|
CityName = t4.CityName |
|
|
|
|
|
|
|
}) |
|
|
|
.Single(); |
|
|
|
|
|
|
|
} while (false); |
|
|
|