Selaa lähdekoodia

提交功能改变

zhangkun 5 vuotta sitten
vanhempi
commit
806c64ff33

+ 2 - 6
codegit/CallCenterApi/CallCenterApi.DAL/T_Rec_RegRecordsCallOut.cs

@@ -264,13 +264,9 @@ parameters[22].Value = model.F_UnitOffice;
264 264
         /// 更新一条数据
265 265
         /// </summary>
266 266
         public bool Update(string id)
267
-        {
268
-     
269
-
270
-            int rows = DbHelperSQL.ExecuteSql("update T_Rec_RegRecordsCallOut set F_RecCode='1' where id="+ id);
271
-
272
-
267
+        {    
273 268
 
269
+            int rows = DbHelperSQL.ExecuteSql("update T_Rec_RegRecordsCallOut set F_RecCode='1' where F_Id="+ id);
274 270
 
275 271
             if (rows > 0)
276 272
             {

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/RegRecords/RegRecordsCallOutController.cs

@@ -20,7 +20,7 @@ namespace CallCenterApi.Interface.Controllers.RegRecords
20 20
             int userid = CurrentUser.UserData.F_UserId;
21 21
             if (userid == 0)
22 22
                 return Error("用户信息获取失败,请重新登录");
23
-            string sql = string.Format(" and F_CreateBy =(select F_Mobile from T_Sys_UserAccount where  userid={0})", userid);
23
+            string sql = string.Format(" and F_CreateBy =(select F_Mobile from T_Sys_UserAccount where  F_UserId={0})", userid);
24 24
             DataTable dt = new DataTable();
25 25
             int recordCount = 0;
26 26
 

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/api/SetController.cs

@@ -92,7 +92,7 @@ namespace CallCenterApi.Interface.Controllers.api
92 92
 
93 93
 
94 94
                 dModel.F_RecCode = "0";// 0未外呼 1已执行外呼
95
-                dModel.F_CreateBy = "0";
95
+                //dModel.F_CreateBy = "0";
96 96
                 dModel.F_CreateOn = DateTime.Now;
97 97
                 res = dBLL.Add(dModel) > 0;
98 98