|
@ -1199,27 +1199,13 @@ namespace EasyBL.WEBAPP.ShowEasy |
|
|
.Select((t1) => new View_SAL_BookingOnline |
|
|
.Select((t1) => new View_SAL_BookingOnline |
|
|
{ |
|
|
{ |
|
|
BookingID = SqlFunc.GetSelfAndAutoFill(t1.BookingID), |
|
|
BookingID = SqlFunc.GetSelfAndAutoFill(t1.BookingID), |
|
|
//ServiceID = t1.ServiceID,
|
|
|
|
|
|
//ServiceNo = t1.ServiceNo,
|
|
|
|
|
|
//ServiceName = t1.ServiceName,
|
|
|
|
|
|
//ConfirmDays = t2.ArgumentValue,
|
|
|
|
|
|
//ExhibitionID = t1.ExhibitionID,
|
|
|
|
|
|
//CancelPolicy = t1.CancelPolicy,
|
|
|
|
|
|
//Features = t1.Features,
|
|
|
|
|
|
//Details = t1.Details,
|
|
|
|
|
|
//MinPrice = t1.MinPrice,
|
|
|
|
|
|
//CurrencyID = t1.CurrencyID,
|
|
|
|
|
|
//ExpenseDescription = ""
|
|
|
|
|
|
|
|
|
|
|
|
}).Single(); |
|
|
}).Single(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (objBookingOnline != null) { |
|
|
if (objBookingOnline != null) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//ServicePictrue
|
|
|
|
|
|
|
|
|
|
|
|
var objFiles = db.Queryable<OTB_SYS_Files, SETB_PDT_ONSiteBaseInfo>((t1, t2) => |
|
|
|
|
|
|
|
|
if (objBookingOnline.BookingDate!=null) { |
|
|
|
|
|
objBookingOnline.BookingDateFormat = Convert.ToDateTime(objBookingOnline.BookingDate).ToString("yyyy/MM/dd HH:mm"); |
|
|
|
|
|
} |
|
|
|
|
|
var objFiles = db.Queryable<OTB_SYS_Files, SETB_PDT_ONSiteBaseInfo>((t1, t2) => |
|
|
new object[] { |
|
|
new object[] { |
|
|
JoinType.Inner, t1.OrgID == t2.OrgID && t1.ParentID == t2.PreviewFile && t2.ServiceID==objBookingOnline.ServiceID && t2.LangID==objBookingOnline.LangType |
|
|
JoinType.Inner, t1.OrgID == t2.OrgID && t1.ParentID == t2.PreviewFile && t2.ServiceID==objBookingOnline.ServiceID && t2.LangID==objBookingOnline.LangType |
|
|
|
|
|
|
|
|