Quellcode durchsuchen

质检录音路径调整

yuqian vor 8 Jahren
Ursprung
Commit
315da9229b

+ 2 - 2
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/quality/QCManageController.cs

@@ -89,7 +89,7 @@ namespace CallCenterApi.Interface.Controllers.quality
89 89
                 int lc = ldList.Where(l => l.F_CallRecordsID == d.CallRecordsId && l.F_OptID == int.Parse(optid) && l.F_IsListen == true).Count();
90 90
                 int dc = ldList.Where(l => l.F_CallRecordsID == d.CallRecordsId && l.F_OptID == int.Parse(optid) && l.F_IsDownload == true).Count();
91 91
 
92
-                string path = !string.IsNullOrWhiteSpace(d.FilePath) ? "" : d.FilePath;
92
+                string path = string.IsNullOrWhiteSpace(d.FilePath) ? "" : d.FilePath;
93 93
                 var config = new BLL.T_Sys_SystemConfig().GetModelList(" F_ParamCode='PlayPath' ").FirstOrDefault();
94 94
                 if (path != "" && config != null && !string.IsNullOrEmpty(config.F_ParamValue))
95 95
                 {
@@ -213,7 +213,7 @@ namespace CallCenterApi.Interface.Controllers.quality
213 213
             {
214 214
                 int lc = ldList.Where(l => l.F_CallRecordsID == d.CallRecordsId && l.F_OptID == int.Parse(optid) && l.F_IsListen == true).Count();
215 215
                 int dc = ldList.Where(l => l.F_CallRecordsID == d.CallRecordsId && l.F_OptID == int.Parse(optid) && l.F_IsDownload == true).Count();
216
-                string path = !string.IsNullOrWhiteSpace(d.FilePath) ? "" : d.FilePath;
216
+                string path = string.IsNullOrWhiteSpace(d.FilePath) ? "" : d.FilePath;
217 217
                 var config = new BLL.T_Sys_SystemConfig().GetModelList(" F_ParamCode='PlayPath' ").FirstOrDefault();
218 218
                 if (path != "" && config != null && !string.IsNullOrEmpty(config.F_ParamValue))
219 219
                 {