|
@@ -3876,6 +3876,15 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
|
// (string.IsNullOrEmpty(d.WorkflowId) && (string.IsNullOrEmpty(d.SignerId) || d.SignerId == _sessionContextProvider.SessionContext.RequiredUserId))
|
|
|
//);
|
|
|
|
|
|
+ //随手拍
|
|
|
+ bool.TryParse(
|
|
|
+ _systemSettingCacheManager.GetSetting(SettingConstants.Snapshot)?.SettingValue[0],
|
|
|
+ out bool isSnapshotEnable);
|
|
|
+ if (isSnapshotEnable && !string.IsNullOrEmpty(dto.IndustryId))
|
|
|
+ {
|
|
|
+ query.Where(d => d.OrderSnapshot.IndustryId == dto.IndustryId);
|
|
|
+ }
|
|
|
+
|
|
|
return query
|
|
|
//// 交办件:已派单其他节点的工单,该选项卡下工单若办结就不显示
|
|
|
//.WhereIF(dto.TypeCode.HasValue == true && dto.TypeCode == 1, d => /*d.ProcessType == EProcessType.Jiaoban &&*/ d.Status < EOrderStatus.Filed)
|