duhongyu лет назад: 5
Родитель
Сommit
5909ca8745

+ 7 - 2
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/MedicalFollowup/FollowUpController.cs

@@ -453,16 +453,21 @@ namespace CallCenterApi.Interface.Controllers.MedicalFollowup
453 453
                     #region  保存日志
454 454
 
455 455
                     BLL.SF_Result busResult=   new BLL.SF_Result();
456
-
456
+                   
457 457
                     Model.SF_Result modelResult= busResult.GetModel(custelid.ToString());
458 458
                     if (modelResult != null)
459 459
                     {
460 460
                         busResult.Delete(modelResult.F_Id);
461 461
                         modelResult.F_SFNum += 1;
462 462
                         modelResult.F_Remark += "<br/>上次满意度:" + modelResult.F_MYD;
463
-                        modelResult.F_Remark+= "<br/>上次建议:" + modelResult.F_Advise;
463
+                        modelResult.F_Remark += "<br/>上次建议:" + modelResult.F_Advise;
464 464
                         modelResult.F_Remark += "<br/>上次回访结果" + modelResult.F_Result;
465 465
                     }
466
+                    else
467
+                    {
468
+                        modelResult = new Model.SF_Result();
469
+                        modelResult.F_SFNum = 1;
470
+                    }
466 471
 
467 472
                    var hjconfig = new BLL.T_Sys_DictionaryValue().GetModel(hjjgid);
468 473
                     if (hjconfig != null)