|
|
@@ -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;
|