|
|
@ -114,21 +114,18 @@ namespace EasyBL.WEBAPP.WSM |
|
|
|
if (iRel > 0) |
|
|
|
{ |
|
|
|
|
|
|
|
if (sSupplierStatus == "01") { |
|
|
|
//當時確認訂單后,需要產生一筆賬單資料
|
|
|
|
var PayPayment = new SETB_SAL_Payment(); |
|
|
|
PayPayment.PaymentID = Guid.NewGuid().ToString(); |
|
|
|
PayPayment.BookingID = sBookingID; |
|
|
|
PayPayment.PaymentNo = sBookingNo + "-01"; |
|
|
|
PayPayment.PaymentMethod = sPayType; |
|
|
|
PayPayment.CreateDate = DateTime.Now; |
|
|
|
PayPayment.ModifyDate = DateTime.Now; |
|
|
|
|
|
|
|
iRel = db.Insertable(PayPayment).ExecuteCommand(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//if (sSupplierStatus == "01") {
|
|
|
|
// //當時確認訂單后,需要產生一筆賬單資料
|
|
|
|
// var PayPayment = new SETB_SAL_Payment();
|
|
|
|
// PayPayment.PaymentID = Guid.NewGuid().ToString();
|
|
|
|
// PayPayment.BookingID = sBookingID;
|
|
|
|
// PayPayment.PaymentNo = sBookingNo + "-01";
|
|
|
|
// PayPayment.PaymentMethod = sPayType;
|
|
|
|
// PayPayment.CreateDate = DateTime.Now;
|
|
|
|
// PayPayment.ModifyDate = DateTime.Now;
|
|
|
|
|
|
|
|
// iRel = db.Insertable(PayPayment).ExecuteCommand();
|
|
|
|
//}
|
|
|
|
|
|
|
|
//確認 后給會員發信息講已確認
|
|
|
|
var saDataList = db.Queryable<SETB_SAL_BookingOnline, SETB_CMS_Member>((t1, t2) => new object[] { |
|
|
|