| | |
| | | { |
| | | 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 |
| | | { |
| | |
| | | if (!string.IsNullOrWhiteSpace(Viscustomer)) |
| | | { |
| | | dto.Viscustomer = Viscustomer; |
| | | IntentionVisitDTOSearch searchEntity = new IntentionVisitDTOSearch(); |
| | | searchEntity.page = 1; |
| | | searchEntity.rows = 1000; |
| | | searchEntity.Viscustomer = Viscustomer; |
| | | var resultDataEntity = _intentionVisitService.SearchByPaging(searchEntity); |
| | | ViewData["visitlishi"] = resultDataEntity.DataList; |
| | | |
| | | } |
| | | else |
| | | { |
| | | ViewData["visitlishi"] = new List<IntentionVisitDTO>(); |
| | | } |
| | | |
| | | dto.VisType = "01"; |
| | |
| | | resultEntity.Message = "无联系人"; |
| | | } |
| | | |
| | | string sss = SMSHelper.PushWToUserMES(number.ToString(), neirong); |
| | | string sss = SMSHelper.PushWToUserMES(number.ToString(), neirong+ " 退订回N"); |
| | | if (int.Parse(sss) <= 0) |
| | | { |
| | | resultEntity.Result = false; |