Ver Código Fonte

外呼任务增加家庭人口数

zhengbingbing 7 anos atrás
pai
commit
026f9d411e

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

@@ -744,6 +744,7 @@ namespace CallCenterApi.Interface.Controllers.callout
744 744
                 taskmodel.F_Id = model.F_Id;//号码id
745 745
                 taskmodel.F_TaskId = model.F_TaskId.Value;//任务id
746 746
                 taskmodel.F_HJJGId = model.F_HJJGId != null ? model.F_HJJGId.Value : 0;//呼叫结果id
747
+                taskmodel.F_FamilySize = model.ExpandIntField3.ToString();
747 748
 
748 749
                 if (!string.IsNullOrWhiteSpace(model.F_CusName))
749 750
                     taskmodel.F_CusName = model.F_CusName;//客户姓名
@@ -1032,7 +1033,7 @@ namespace CallCenterApi.Interface.Controllers.callout
1032 1033
                 taskmodel.F_Id = model.F_Id;//号码id
1033 1034
                 taskmodel.F_TaskId = model.F_TaskId.Value;//任务id
1034 1035
                 taskmodel.F_HJJGId = model.F_HJJGId != null ? model.F_HJJGId.Value : 0;//呼叫结果id
1035
-
1036
+                taskmodel.F_FamilySize = model.ExpandIntField3.ToString();
1036 1037
                 //if (!string.IsNullOrWhiteSpace(model.F_CusName))
1037 1038
                 //    taskmodel.F_CusName = model.F_CusName;//客户姓名
1038 1039
                 //if (!string.IsNullOrWhiteSpace(model.F_Phone))
@@ -1130,7 +1131,7 @@ namespace CallCenterApi.Interface.Controllers.callout
1130 1131
         /// <param name="address">地址</param>
1131 1132
         /// <returns></returns>
1132 1133
         public ActionResult Answers(int taskid, int custelid, string[] ans, int hjjgid,
1133
-            string name, string phone, int countryid,int villageid, string address)
1134
+            string name, string phone, int countryid,int villageid, string address,int familysize)
1134 1135
         {
1135 1136
             int cc = 0; 
1136 1137
             if (custelid > 0)
@@ -1209,6 +1210,7 @@ namespace CallCenterApi.Interface.Controllers.callout
1209 1210
                         otnModel.ExpandVchField4 = fkconfig.F_Name;
1210 1211
                     otnModel.ExpandIntField1 = countryid;//乡镇
1211 1212
                     otnModel.ExpandIntField2 = villageid;//行政村
1213
+                    otnModel.ExpandIntField3 = familysize;//家庭人口数
1212 1214
                     otnModel.ExpandDatField1 = DateTime.Now;//调查时间
1213 1215
                     otnModel.F_AskRes = askqids;
1214 1216
                     otnModel.F_AskInfo = ansids;

+ 2 - 0
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Models/Dto/CallPlan.cs

@@ -66,5 +66,7 @@ namespace CallCenterApi.Interface.Models.Dto
66 66
         public string F_Village { get; set; }
67 67
         //住址
68 68
         public string F_Address { get; set; }
69
+        //家庭人口数
70
+        public string F_FamilySize { get; set; }
69 71
     }
70 72
 }