소스 검색

付款申请修改日付申请中公/私转为0 1

jiangjc 11 달 전
부모
커밋
43df6e94dc

+ 2 - 2
OASystem/OASystem.Api/Controllers/FinancialController.cs

@@ -2154,8 +2154,8 @@ Where c.CTable = 1015 And c.IsPay = 1 And f.IsDel = 0 And c.IsDel = 0 And f.DiId
                 }
             }
 
-            decimal total_gz = DailyFeePaymentData.Where(s => s.transferParentId == 62).Sum(d => d.SumPrice ?? 0M);
-            decimal total_sz = DailyFeePaymentData.Where(s => s.transferParentId == 63).Sum(d => d.SumPrice ?? 0M);
+            decimal total_gz = DailyFeePaymentData.Where(s => s.transferParentId == 0).Sum(d => d.SumPrice ?? 0M);
+            decimal total_sz = DailyFeePaymentData.Where(s => s.transferParentId == 1).Sum(d => d.SumPrice ?? 0M);
 
             var result = new tree_Fin_DailyFeePaymentResult() { gz = total_gz, sz = total_sz, dataList = DailyFeePaymentData };
 

+ 1 - 1
OASystem/OASystem.Domain/ViewModels/Financial/Fin_DailyFeePaymentView.cs

@@ -353,7 +353,7 @@ namespace OASystem.Domain.ViewModels.Financial
         public int transferTypeId { get; set; }
         public string transferTypeIdStr { get; set; }
         /// <summary>
-        /// 公转:62,私转:63
+        /// 公转:62,私转:63 --2024年4月9日 16:49:46 0,1
         /// </summary>
         public int transferParentId { get; set; }
         public string transferParentIdStr { get; set; }