Browse Source

修改bug

mengjie 7 years ago
parent
commit
3716200945

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

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