mengjie лет назад: 7
Родитель
Сommit
3716200945

+ 4 - 3
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/callout/CallOutPlanController.cs

@@ -1111,7 +1111,7 @@ namespace CallCenterApi.Interface.Controllers.callout
1111 1111
         /// <param name="address">地址</param>
1112 1112
         /// <returns></returns>
1113 1113
         public ActionResult Answers(int taskid, int custelid, string[] ans, int hjjgid,
1114
-            string name, string phone, int countryid, string address)
1114
+            string name, string telphone, int countryid, string address)
1115 1115
         {
1116 1116
             int cc = 0; 
1117 1117
             if (custelid > 0)
@@ -1119,7 +1119,7 @@ namespace CallCenterApi.Interface.Controllers.callout
1119 1119
                 var otnModel = otnBLL.GetModel(custelid);
1120 1120
                 if (otnModel != null)
1121 1121
                 {
1122
-                    int cusid = saveCus(otnModel.F_Phone, name, phone, countryid, address);
1122
+                    int cusid = saveCus(otnModel.F_Phone, name, telphone, countryid, address);
1123 1123
 
1124 1124
                     #region 保存答案
1125 1125
                     var ansModel = new Model.T_Call_OutAnswers();
@@ -1182,7 +1182,7 @@ namespace CallCenterApi.Interface.Controllers.callout
1182 1182
                     //var fkconfig = new BLL.T_Sys_DictionaryValue().GetModel(yhfkid);
1183 1183
                     //if (fkconfig != null)
1184 1184
                     //    otnModel.F_YHFKName = fkconfig.F_Name;
1185
-                    otnModel.ExpandVchField2 = phone;
1185
+                    otnModel.ExpandVchField2 = telphone;
1186 1186
                     otnModel.ExpandVchField3 = address;
1187 1187
                     var fkconfig = new BLL.T_Sys_DictionaryValue().GetModel(countryid);
1188 1188
                     if (fkconfig != null)
@@ -1195,6 +1195,7 @@ namespace CallCenterApi.Interface.Controllers.callout
1195 1195
                     otnModel.F_CusName = name;
1196 1196
                     otnBLL.Update(otnModel);
1197 1197
                     planrecord(otnModel);
1198
+                    return Success("呼叫结果提交成功!taskid=" + taskid + ",custelid=" + custelid + ",操作人:" + CurrentUser.UserData.F_UserCode);
1198 1199
                     #endregion
1199 1200
                 }
1200 1201
             }