From 402f9568e48e6e1a9d29d37dcda46737047425d5 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 25 十一月 2021 10:49:10 +0800 Subject: [PATCH] 专家通讯录优化 --- zhengcaioa/zhengcaioa/Controllers/Customer/IntentionVisitController.cs | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionVisitController.cs b/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionVisitController.cs index a6068ba..de561dc 100644 --- a/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionVisitController.cs +++ b/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionVisitController.cs @@ -106,6 +106,14 @@ { dto = _intentionVisitService.Get(id); + //dto.Viscustomer = Viscustomer; + IntentionVisitDTOSearch searchEntity = new IntentionVisitDTOSearch(); + searchEntity.page = 1; + searchEntity.rows = 1000; + searchEntity.Viscustomer = dto.Viscustomer; + var resultDataEntity = _intentionVisitService.SearchByPaging(searchEntity); + ViewData["visitlishi"] = resultDataEntity.DataList; + } else { @@ -239,7 +247,7 @@ IntentionCustomerDTO intentionCustomerDTO = _intentionCustomerService.Get(data.Viscustomer); if(intentionCustomerDTO!=null && ( !string.IsNullOrEmpty(intentionCustomerDTO.Phone) || !string.IsNullOrEmpty(intentionCustomerDTO.Tel))) { - string sss = SMSHelper.PushWToUserMES(string.IsNullOrEmpty(intentionCustomerDTO.Phone)? intentionCustomerDTO.Tel: intentionCustomerDTO.Phone, data.DuanxinNeirong); + string sss = SMSHelper.PushWToUserMES(string.IsNullOrEmpty(intentionCustomerDTO.Phone)? intentionCustomerDTO.Tel: intentionCustomerDTO.Phone, "鎮ㄥソ锛屽鎴�. 璇︽儏瑙侊細"+data.DuanxinNeirong); if (int.Parse(sss) <= 0) { resultEntity.Result = false; @@ -334,7 +342,7 @@ resultEntity.Message = "鏃犺仈绯讳汉"; } - string sss = SMSHelper.PushWToUserMES(number.ToString(), neirong); + string sss = SMSHelper.PushWToUserMES(number.ToString(), "鎮ㄥソ锛屽鎴�. 璇︽儏瑙侊細" + neirong ); if (int.Parse(sss) <= 0) { resultEntity.Result = false; -- Gitblit v1.9.1