username@email.com
2022-09-21 d4f1d60996bcec152e100b231c37589270c5fae6
zhengcaioa/zhengcaioa/Controllers/Customer/IntentionVisitController.cs
@@ -149,6 +149,11 @@
                if (!string.IsNullOrWhiteSpace(Viscustomer))
                {
                    dto.Viscustomer = Viscustomer;
                   var intentionCustomerDTO = _intentionCustomerService.Get(Viscustomer);
                    if (intentionCustomerDTO != null)
                    {
                        dto.ViscustomerName = intentionCustomerDTO.Name;
                    }
                    IntentionVisitDTOSearch searchEntity = new IntentionVisitDTOSearch();
                    searchEntity.page = 1;
                    searchEntity.rows = 1000;
@@ -173,9 +178,16 @@
            }
            if (!string.IsNullOrWhiteSpace(Viscustomer))
            {
                ViewData["customer"] = new List<IntentionCustomerDTO>();
            }
            else
            {
            ViewData["customer"] = _intentionCustomerService.GetList();
            }