Browse Source

預定時間格式修改

Dev
alina 2 years ago
parent
commit
c389f213d5
  1. 20
      EuroTran/EasyBL.WEBAPP/ShowEasy/OnsiteService.cs
  2. 4
      EuroTran/Entity/ViewModels/View_SAL_BookingOnline.cs

20
EuroTran/EasyBL.WEBAPP/ShowEasy/OnsiteService.cs

@ -1199,26 +1199,12 @@ 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
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) => 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

4
EuroTran/Entity/ViewModels/View_SAL_BookingOnline.cs

@ -11,6 +11,10 @@ namespace Entity.ViewModels
public string SupplierName { get; set; } public string SupplierName { get; set; }
public string ServiceName { get; set; } public string ServiceName { get; set; }
public string ServicePictrue { get; set; } public string ServicePictrue { get; set; }
public string BookingDateFormat { get; set; }
//public string MemberName { get; set; } //public string MemberName { get; set; }
//public string MemberName { get; set; } //public string MemberName { get; set; }
} }
Loading…
Cancel
Save