|
@@ -3583,7 +3583,8 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
|
|
|
|
NoCentreCareOf = SqlFunc.AggregateSum(SqlFunc.IIF(it.ActualHandleStepName == "话务部" &&
|
|
|
it.Status < EOrderStatus.Filed && it.Status > EOrderStatus.WaitForAccept, 1, 0)),//待转办信件(当前节点为话务部,已受理未归档的工单)
|
|
|
-
|
|
|
+ Invalid = 0,
|
|
|
+ Repeat = 0,
|
|
|
Subtotal = SqlFunc.AggregateSum(SqlFunc.IIF(it.Status > EOrderStatus.WaitForAccept, 1, 0))//排除待受理工单
|
|
|
})
|
|
|
.LeftJoin<User>((it, u) => it.UserId == u.Id)
|
|
@@ -3594,6 +3595,8 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
|
CentreArchive = it.CentreArchive,
|
|
|
CentreCareOf = it.CentreCareOf,
|
|
|
NoCentreCareOf = it.NoCentreCareOf,
|
|
|
+ Invalid = it.Invalid,
|
|
|
+ Repeat = it.Repeat,
|
|
|
Subtotal = it.Subtotal
|
|
|
}).MergeTable()
|
|
|
;
|