leiy 11 月之前
父節點
當前提交
00288f916a

+ 6 - 1
OASystem/OASystem.Infrastructure/Repositories/Financial/PaymentRefundAndOtherMoneyRepository.cs

@@ -267,6 +267,9 @@ namespace OASystem.Infrastructure.Repositories.Financial
 
                 #endregion
 
+                int ispay = 0;
+                if (dto.PayDId == 72) ispay = 1;
+
                 Grp_CreditCardPayment _CreditCardPayment = new Grp_CreditCardPayment() {
                     //Id = dto.CcpId,
                     //CId = dto.CcpId,
@@ -296,7 +299,7 @@ namespace OASystem.Infrastructure.Repositories.Financial
                     IsAuditGM = 0,
                     AuditGMOperate = 0,
                     AuditGMDate = string.Empty,
-                    IsPay = 0,
+                    IsPay = ispay,
                     PayPercentage = 100.00M,
                     PayThenMoney = payThenMoney,
                     PayPercentageOld = 0.00M,
@@ -381,6 +384,8 @@ namespace OASystem.Infrastructure.Repositories.Financial
                     var ccp_update = await _sqlSugar.Updateable(_CreditCardPayment)
                                                    .UpdateColumns(it => new
                                                    {
+                                                       it.PayDId,
+                                                       it.IsPay,
                                                        it.ConsumptionPatterns,
                                                        it.PayMoney,
                                                        it.PaymentCurrency,

+ 1 - 0
OASystem/OASystem.Infrastructure/Repositories/Groups/AirTicketResRepository.cs

@@ -462,6 +462,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
                         {
                             grp_CreditCard.IsPay = 1;
                         }
+                        else grp_CreditCard.IsPay = 0;
 
 
                         //获取新汇率  int diId,int CId, int currencyId