zhaozhiqiang %!s(int64=3) %!d(string=před) roky
rodič
revize
285d7670ba

+ 1 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/report/WorkOrderReportController.cs

@@ -2574,7 +2574,7 @@ namespace CallCenterApi.Interface.Controllers.report
2574 2574
 
2575 2575
                 ///////////////条件重新写
2576 2576
                 //郑州转派件
2577
-                string Zzzpj = $"select count(*) as 转派件 from (select DISTINCT wo.F_OldWorkOrderId from T_Bus_WorkOrder wo where F_OldWorkOrderId!='' "+ where1 + ") b";
2577
+                string Zzzpj = $"select count(*) as 转派件 from (select DISTINCT wo.F_OldWorkOrderId from T_Bus_WorkOrder wo where  F_OldWorkOrderId is not null and F_OldWorkOrderId !='' and F_IsDelete =0  " + where + ") b";
2578 2578
                 var Zzzpjcount = DbHelperSQL.GetSingle(Zzzpj);
2579 2579
                 //郑州已回传件
2580 2580
                 string Zzyhc = $"select count(*) as 回传件 from (select DISTINCT wo.F_OldWorkOrderId from T_Bus_WorkOrder wo where F_OldWorkOrderId!='' and wo.F_WorkState = 9 " + where1 + ") b";