1550076451 %!s(int64=2) %!d(string=před) roky
rodič
revize
a557bb6b1a

+ 20 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

@@ -9445,6 +9445,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
9445 9445
                     if (configfj != null)
9446 9446
                     {
9447 9447
                         dt = BindFileData(dt, configfj.F_ParamValue);
9448
+                        dt = BindHandlingFileFileData(dt, configfj.F_ParamValue);
9448 9449
                     }
9449 9450
                     #endregion
9450 9451
 
@@ -9850,6 +9851,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
9850 9851
                             if (configfj != null)
9851 9852
                             {
9852 9853
                                 dt = BindFileData(dt, configfj.F_ParamValue);
9854
+                                dt = BindHandlingFileFileData(dt, configfj.F_ParamValue);
9853 9855
                             }
9854 9856
                             #endregion
9855 9857
 
@@ -23323,7 +23325,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
23323 23325
         public DataTable BindFileData(DataTable dt, string prefix)
23324 23326
         {
23325 23327
             dt.Columns.Add("File", typeof(object));
23326
-            dt.Columns.Add("HandlingFile", typeof(object));
23328
+           
23327 23329
             
23328 23330
             foreach (DataRow dr in dt.Rows)
23329 23331
             {
@@ -23331,6 +23333,23 @@ namespace CallCenterApi.Interface.Controllers.workorder
23331 23333
                 {
23332 23334
                     dr["File"] = GetFileData(dr["F_File"].ToString(), prefix);
23333 23335
                 }
23336
+                
23337
+            }
23338
+            return dt;
23339
+        }
23340
+
23341
+        /// <summary>
23342
+        /// 绑定附件信息
23343
+        /// </summary>
23344
+        /// <param name="dt"></param>
23345
+        /// <param name="prefix"></param>
23346
+        /// <returns></returns>
23347
+        public DataTable BindHandlingFileFileData(DataTable dt, string prefix)
23348
+        {
23349
+            dt.Columns.Add("HandlingFile", typeof(object));
23350
+
23351
+            foreach (DataRow dr in dt.Rows)
23352
+            {
23334 23353
                 if (dr["F_HandlingFile"] != null && dr["F_HandlingFile"].ToString() != "")
23335 23354
                 {
23336 23355
                     dr["HandlingFile"] = GetFileData(dr["F_HandlingFile"].ToString(), prefix);