Forráskód Böngészése

成本报批修改

yuanrf 7 hónapja%!(EXTRA string=óta)
szülő
commit
cc6d8fd5cf

+ 12 - 0
OASystem/OASystem.Infrastructure/Repositories/Groups/GroupCostParameterRepository.cs

@@ -343,6 +343,10 @@ namespace OASystem.Infrastructure.Repositories.Groups
                     }
 
                     // 报批总报价 - 经济舱
+                    if (eec.SumJJC == 0)
+                    {
+                        AirJJCTotal = 0;
+                    }
                     var SumAirJJC = new
                     {
                         Type = "SumAirJJC",
@@ -351,6 +355,10 @@ namespace OASystem.Infrastructure.Repositories.Groups
                     dynamics.Add(SumAirJJC);
 
                     //报批总报价 - 公务舱
+                    if (eec.SumGWC == 0)
+                    {
+                        AirGWCTotal = 0;
+                    }
                     var SumAirGWC = new
                     {
                         Type = "SumAirGWC",
@@ -359,6 +367,10 @@ namespace OASystem.Infrastructure.Repositories.Groups
                     dynamics.Add(SumAirGWC);
 
                     //报批总报价 - 头等舱
+                    if (eec.SumTDC == 0)
+                    {
+                        AirTDCTotal = 0;
+                    }
                     var SumAirTDC = new
                     {
                         Type = "SumAirTDC",