1550076451 %!s(int64=2) %!d(string=hace) años
padre
commit
a557bb6b1a

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

9445
                     if (configfj != null)
9445
                     if (configfj != null)
9446
                     {
9446
                     {
9447
                         dt = BindFileData(dt, configfj.F_ParamValue);
9447
                         dt = BindFileData(dt, configfj.F_ParamValue);
9448
+                        dt = BindHandlingFileFileData(dt, configfj.F_ParamValue);
9448
                     }
9449
                     }
9449
                     #endregion
9450
                     #endregion
9450
 
9451
 
9850
                             if (configfj != null)
9851
                             if (configfj != null)
9851
                             {
9852
                             {
9852
                                 dt = BindFileData(dt, configfj.F_ParamValue);
9853
                                 dt = BindFileData(dt, configfj.F_ParamValue);
9854
+                                dt = BindHandlingFileFileData(dt, configfj.F_ParamValue);
9853
                             }
9855
                             }
9854
                             #endregion
9856
                             #endregion
9855
 
9857
 
23323
         public DataTable BindFileData(DataTable dt, string prefix)
23325
         public DataTable BindFileData(DataTable dt, string prefix)
23324
         {
23326
         {
23325
             dt.Columns.Add("File", typeof(object));
23327
             dt.Columns.Add("File", typeof(object));
23326
-            dt.Columns.Add("HandlingFile", typeof(object));
23328
+           
23327
             
23329
             
23328
             foreach (DataRow dr in dt.Rows)
23330
             foreach (DataRow dr in dt.Rows)
23329
             {
23331
             {
23331
                 {
23333
                 {
23332
                     dr["File"] = GetFileData(dr["F_File"].ToString(), prefix);
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
                 if (dr["F_HandlingFile"] != null && dr["F_HandlingFile"].ToString() != "")
23353
                 if (dr["F_HandlingFile"] != null && dr["F_HandlingFile"].ToString() != "")
23335
                 {
23354
                 {
23336
                     dr["HandlingFile"] = GetFileData(dr["F_HandlingFile"].ToString(), prefix);
23355
                     dr["HandlingFile"] = GetFileData(dr["F_HandlingFile"].ToString(), prefix);