Selaa lähdekoodia

通话记录筛选,号段

duhongyu 5 vuotta sitten
vanhempi
commit
62db7c1470

+ 9 - 0
代码/TVShoppingCallCenter_ZLJ/Controllers/CallCenter/CallRecordsController.cs

@@ -64,6 +64,15 @@ namespace TVShoppingCallCenter_ZLJ.Controllers.CallCenter
64 64
             {
65 65
                 ConditionalModels.Add(new ConditionalModel { FieldName = "Location", ConditionalType = ConditionalType.Like, FieldValue = input.Location });
66 66
             }
67
+            if (input.CallType!=null )
68
+            {
69
+                ConditionalModels.Add(new ConditionalModel { FieldName = "CallType", ConditionalType = ConditionalType.Equal , FieldValue = input.CallType.ToString () });
70
+            }
71
+            if (input.CallState != null)
72
+            {
73
+                ConditionalModels.Add(new ConditionalModel { FieldName = "CallState", ConditionalType = ConditionalType.Equal, FieldValue = input.CallState.ToString() });
74
+            }
75
+            
67 76
             #endregion
68 77
 
69 78
             int count = 0;

+ 1 - 1
代码/TVShoppingCallCenter_ZLJ/Controllers/Traffic/SetMobileDataController.cs

@@ -65,7 +65,7 @@ namespace TVShoppingCallCenter_ZLJ.Controllers.Traffic
65 65
         {
66 66
             if (id > 0)
67 67
             {
68
-                var dModel = await _sys_mobiledataRepository.GetSingle(x => x.F_Id == id && x.F_State == (int)EnumDelState.Enabled);
68
+                var dModel = await _sys_mobiledataRepository.GetSingle(x => x.F_Id == id && x.F_State == (int)EnumUserCountState.Enabled);
69 69
 
70 70
                 if (dModel != null)
71 71
                 {