duhongyu 4 vuotta sitten
vanhempi
commit
cdde8892dd

+ 9 - 2
CallCenterApi/CallCenterApi.DAL/T_Bus_WorkOrder.cs

@@ -282,6 +282,7 @@ namespace CallCenterApi.DAL
282 282
             strSql.Append("F_MainWorkorder1=@F_MainWorkorder1, ");
283 283
             strSql.Append("F_SubWorkorder1=@F_SubWorkorder1, ");
284 284
             strSql.Append("F_Administrative=@F_Administrative, ");
285
+            strSql.Append("F_Identification=@F_Identification, ");
285 286
             
286 287
             strSql.Append("F_IsSms=@F_IsSms ");
287 288
             strSql.Append(" where F_Id=@F_Id");
@@ -361,6 +362,7 @@ namespace CallCenterApi.DAL
361 362
                      new SqlParameter("@F_MainWorkorder1", SqlDbType.VarChar,500),
362 363
                     new SqlParameter("@F_SubWorkorder1", SqlDbType.VarChar,500),
363 364
                        new SqlParameter("@F_Administrative", SqlDbType.VarChar,500),
365
+                        new SqlParameter("@F_Identification", SqlDbType.Int ,4),
364 366
                     
365 367
                        new SqlParameter("@F_IsSms", SqlDbType.Int,4),
366 368
                     new SqlParameter("@F_Id", SqlDbType.Int,4)};
@@ -439,8 +441,9 @@ namespace CallCenterApi.DAL
439 441
             parameters[72].Value = model.F_MainWorkorder1;
440 442
             parameters[73].Value = model.F_SubWorkorder1;
441 443
             parameters[74].Value = model.F_Administrative;
442
-            parameters[75].Value = model.F_IsSms;
443
-            parameters[76].Value = model.F_Id;
444
+            parameters[75].Value = model.F_Identification;
445
+            parameters[76].Value = model.F_IsSms;
446
+            parameters[77].Value = model.F_Id;
444 447
 
445 448
             int rows = DbHelperSQL.ExecuteSql(strSql.ToString(), parameters);
446 449
             if (rows > 0)
@@ -890,6 +893,10 @@ namespace CallCenterApi.DAL
890 893
                 {
891 894
                     model.F_PhoneType = row["F_PhoneType"].ToString();
892 895
                 }
896
+                if (row["F_Identification"] != null && row["F_Identification"].ToString() != "")
897
+                {
898
+                    model.F_Identification = int.Parse(row["F_Identification"].ToString());
899
+                }
893 900
                 
894 901
             }
895 902
             return model;

File diff suppressed because it is too large
+ 21 - 19
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs


+ 5 - 0
CallCenterApi/CallCenterApi.Model/T_Bus_WorkOrder.cs

@@ -689,6 +689,11 @@ namespace CallCenterApi.Model
689 689
         /// </summary>
690 690
         public string F_SubWorkorder1 { set; get; }
691 691
         public string F_PhoneType { set; get; }
692
+        /// <summary>
693
+        /// 重办标识
694
+        /// </summary>
695
+        public int F_Identification { set; get; }
696
+
692 697
         #endregion Model
693 698
 
694 699
     }